zsxwing commented on issue #25853: [SPARK-21869][SS] Apply Apache Commons Pool to Kafka producer URL: https://github.com/apache/spark/pull/25853#issuecomment-555138802 > The mentioned additional resource consumption applies only when cores are writing the exact same TopicPartition at the same time. Just to make sure we are on the same page. Previously, we were using the Kafka parameters as the cache key. As long as the kafka parameters are the same, tasks running at the same time will share the same producer. `TopicPartition` is not a part of the key.
---------------------------------------------------------------- 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]
