Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8928

Logged producer config does not always match actual config values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: clients
    • Labels:
      None

      Description

      I'm working with EOS, and expected to see that switching to EOS sets `acks=all` among other things. Instead, in the logs I see:

       

      ProducerConfig values: 
      	acks = 1
      	...
      	enable.idempotence = true
              ...
       (org.apache.kafka.clients.producer.ProducerConfig:279)
      

       

      Clearly this is incorrect. The value is changed in KafkaProducer and the override is logged, but it appears to be filtered at the default setting. It would be best to log all of the correct values in one place. Logging the incorrect values in misleading and at best can waste time when trying to understand Kafka behavior.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                huxi_2b huxihx
                Reporter:
                cpettitt-confluent Chris Pettitt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: