merlimat commented on a change in pull request #5441: [pulsar-perf] record message failure and avoid exiting from process on publish failure URL: https://github.com/apache/pulsar/pull/5441#discussion_r337775733
########## File path: pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java ########## @@ -497,7 +500,7 @@ private static void runProducer(Arguments arguments, } }).exceptionally(ex -> { log.warn("Write error on message", ex); - System.exit(-1); + messagesFailed.increment(); Review comment: I'm fine with changing the default ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services