gaborgsomogyi commented on issue #25853: [WIP][SPARK-21869][SS] Apply Apache 
Commons Pool to Kafka producer
URL: https://github.com/apache/spark/pull/25853#issuecomment-541727303
 
 
   I've tested batch scenario as well just to be on the safe side in the 
following way: 
https://gist.github.com/gaborgsomogyi/4634da1b6f1689ce32b2efcfcbf482d7
   
   The test execution time was between 4.9 and 5.35 sec both with and without 
this change. I didn't expect any significant difference here, I've mainly 
double checked that only 2 producer placed into the cache (`TestSparkSession` 
is created with `local[2]`).

----------------------------------------------------------------
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]

Reply via email to