Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Modify the kafka initialized blocking problem #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yangqiju
Copy link

Modify the kafka initialized blocking problem.

logback config:

deliveryStrategy:BlockingDeliveryStrategy

Kafka produces a log of packages that have:
org.apache.kafka.clients
org.apache.kafka.common

Modify the kafka initialized blocking problem
if (e instanceof ILoggingEvent && ((ILoggingEvent)e).getLoggerName().startsWith(KAFKA_LOGGER_PREFIX)) {
deferAppend(e);
} else {
ensureDeferredAppends();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could produce a memory leak as long as the queue is unbounded :/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants