gaborgsomogyi commented on issue #25853: [SPARK-21869][SS] Apply Apache Commons Pool to Kafka producer URL: https://github.com/apache/spark/pull/25853#issuecomment-534531458 > do we need more than one instance of kafka producer on the executor? Not necessarily. It's a trade-off again. * Having only 1 => every task will be effected if one of the tasks corrupts it or broker terminates the connection + no eviction. * Having multiple => bounded errors but some management needed. I'm pretty sure there are hundreds of pros and cons. Do you think one producer per executor would be the solution?
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
