Hello,

I’ve noticed that the 
`org.apache.kafka.clients.producer.internals.TransactionManager` class has 
generated ~30k log lines in the last hour and that means ~100mb (structured 
logging with json).

I can of course simply disable the logs of this class or set the log level to 
be minimum warning, but I don’t know if I could miss important information 
if/when things go wrong.

Most of the log lines look like this:

[ProducerId set to 250075021 with epoch 0

[Discovered transaction coordinator xyz.amazonaws.com:9098 (id: 2 rack: null)

Invoking InitProducerId for the first time in order to acquire a producer ID

So, I’d like to ask:

1. Is it ok to lower the log level of this class to warning?
2. Is there the possibility that I’m doing something wrong and that’s why I see 
so many of those logs? If yes, what could that be?

Thank you

Best regards,
Renann

Reply via email to