chetanmeh commented on issue #3921: Synchronize access to the KafkaConsumer.
URL: 
https://github.com/apache/incubator-openwhisk/pull/3921#issuecomment-410218275
 
 
   Sorry for the confusion. I was reading [0.11.0.1][1] code (yet not latest 
master) and that does not had locks but latest [2.0.0][2] code does have locks. 
   
   So  synchronized should fix that issue 
   
   [1]: 
https://github.com/apache/kafka/blob/c2a0d5f9b1f45bf59552b360fc2b39884357a698/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L1534
   [2]: 
https://github.com/apache/kafka/blob/afe00effe2d79e89e159972cf1f5f7ffeb0c6e97/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L2040

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to