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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: camel-kafka
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: