As per Kafka documentation, default value of consumer config enable.auto.commit is true. But I am getting as false.
In my Kafka stream application, I try to change this to true
as props.put(StreamsConfig.consumerPrefix(ConsumerConfig.ENABLE_AUTO_COMMIT_CONFIG), true)
to commit offset automatically. But I am getting WARN o.a.k.s.StreamsConfig [main] Unexpected user-specified consumer config: enable.auto.commit found. User setting (true) will be ignored and the Streams default setting (false) will be used
message in log and reverting back to false.
What would be the reason? Please help me.