chia7712 commented on PR #13348:
URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471410292

   @robobario thanks for feedback. According to your nice catch `Stats` is 
shared between all producer thread. Not only `iteration` but also other mutable 
variables should be thread-safe, or we may see the incorrect stats value, right?


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

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to