kafka icon indicating copy to clipboard operation
kafka copied to clipboard

ClientUtils loops without a pause between eating CPU

Open thorleifjacobsen opened this issue 4 years ago • 0 comments

I'm not sure if this is a error of the implementation of KafkaAppender og in kafka itself or just a misconfiguration. But when we try to run KafkaAppender by com.github.danielwegener.logback.kafka.KafkaAppender then it initalizes with a error:

Couldn't resolve server {} from {} as DNS resolution of the canonical hostname {} failed for {}

This one loops about 200-300 times a second {} is replaced with a hostname of course. Is there a setting to make it wait a second between each reconnect or is this an issue for Daniel Wegener's implementation?

thorleifjacobsen avatar Oct 13 '20 10:10 thorleifjacobsen