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

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.

2 participants