camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10993) camel-kafka - Do not WARN per message for no key or partition
Date Sat, 11 Mar 2017 21:16:04 GMT
Claus Ibsen created CAMEL-10993:
-----------------------------------

             Summary: camel-kafka - Do not WARN per message for no key or partition
                 Key: CAMEL-10993
                 URL: https://issues.apache.org/jira/browse/CAMEL-10993
             Project: Camel
          Issue Type: Improvement
          Components: camel-kafka
            Reporter: Claus Ibsen
             Fix For: 2.19.0


If you just stream messages without any key etc you can get a WARN per message and that can
be a lot of noise
{code}
[mel-1) thread #1 - timer://foo] KafkaProducer                  WARN  No message key or partition
key set
[mel-1) thread #1 - timer://foo] KafkaProducer                  WARN  No message key or partition
key set
[mel-1) thread #1 - timer://foo] KafkaProducer                  WARN  No message key or partition
key set
{code}

We should maybe do a one time detection and do a WARN and then that's it. Its okay to send
a message without a key. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message