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

   > 
   
   
   
   > > If all variables are volatile or atomic, will it affect the printing 
performance of this perf program?
   > 
   > Or we just handle the `iteration` as it seems `iteration` is the only 
variable used by main thread and producer thread at the same time.
   
   I understand what you mean, because this is a separate perf producer 
program, there should be no need to consider the scenario of multiple producer 
threads, because this perf program is sent by one producer, but this problem is 
indeed caused by the competition between the main thread and the producer 
thread , so only this variable needs to be fixed.
   In addition, does this repair need to open a new jira?


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