yyu1993 opened a new pull request #11939:
URL: https://github.com/apache/kafka/pull/11939


   When a log entry is appended to a Kafka topic using KafkaLog4jAppender, the 
producer.send operation may hit a deadlock if the producer network thread also 
tries to append a log at the same log level. This issue is triggered when 
idempotence is enabled for the KafkaLog4jAppender and the producer tries to 
acquire the TransactionManager lock.
   
   This is a temporary workaround to avoid deadlocks by disabling idempotence 
explicitly in KafkaLog4jAppender.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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