Ivan Balashov created KAFKA-2093:
------------------------------------

             Summary: Reduce noise in Kafka logs
                 Key: KAFKA-2093
                 URL: https://issues.apache.org/jira/browse/KAFKA-2093
             Project: Kafka
          Issue Type: Improvement
            Reporter: Ivan Balashov
            Priority: Trivial


On failure, kafka producer logs error AND throws exception. This can pose 
problems, since client application cannot flexibly control if a particular 
exception should be logged, and logging becomes all-or-nothing choice for 
particular logger.

We must remove logging error if we decide to throw exception.

Some examples of this:
kafka.client.ClientUtils$:89
kafka.producer.SyncProducer:103

If no one has objections, I can search around for other cases of logging + 
throwing which should also be fixed.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to