Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10993

camel-kafka - Do not WARN per message for no key or partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.19.0
    • camel-kafka
    • None
    • Unknown

    Description

      If you just stream messages without any key etc you can get a WARN per message and that can be a lot of noise

      [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
      

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: