Fernando Blanch Calvete created KAFKA-13144:
-----------------------------------------------

             Summary: Change the LOG level from DEBUG to WARN/ERROR for error 
traces when obtaining topic metada
                 Key: KAFKA-13144
                 URL: https://issues.apache.org/jira/browse/KAFKA-13144
             Project: Kafka
          Issue Type: Improvement
          Components: clients
    Affects Versions: 2.8.0
            Reporter: Fernando Blanch Calvete


As a suggestion, it would be very useful that when obtaining the metadata 
information of the topic and there are errors, to add them to the log at WARN 
level (for example) instead of DEBUG. Since in productive environments we do 
not usually have the log at DEBUG level and if errors of this type occur it is 
very useful to know them at the moment.

For example, in the class 
*org.apache.kafka.clients.consumer.internals.Fetcher*, in the line 394, where 
the errors are traced in DEBUG it would be very useful for us that they are at 
least in WARN, to identify *UNKNOWN_TOPIC_OR_PARTITION* errors and to know the 
name of the topic that causes it.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to