kafka/log4j-appender/src
Yang Yu db724f23f3
KAFKA-13761: KafkaLog4jAppender deadlocks when idempotence is enabled (#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.

Reviewers: Luke Chen <showuon@gmail.com>, Ismael Juma <ismael@juma.me.uk>
2022-03-24 06:36:56 -07:00
..
main/java/org/apache/kafka/log4jappender KAFKA-13761: KafkaLog4jAppender deadlocks when idempotence is enabled (#11939) 2022-03-24 06:36:56 -07:00
test/java/org/apache/kafka/log4jappender KAFKA-13598: enable idempotence producer by default and validate the configs (#11691) 2022-02-05 10:53:27 -08:00