I'm not sure how to title this issue. But we have a Kafka producer project which has this warning show up on the logs.
o.a.k.clients.producer.ProducerConfig : The configuration 'internal.auto.downgrade.txn.commit' was supplied but isn't a known config.
We are using this dependency:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-stream-kafka</artifactId>
</dependency>
In our pom.xml we have this for spring configs:
spring:
metrics:
export:
delay-millis: 10500
kafka:
producer:
retries: 10
buffer-memory: 33554432
cloud:
stream:
kafka:
bindings:
toInboundKafkaTopic-out-0:
producer:
configuration:
key:
serializer: org.apache.kafka.common.serialization.StringSerializer
binder:
requiredAcks: all
brokers: (removed)
bindings:
toInboundKafkaTopic-out-0:
destination: OutboundSink
content-type: application/json
source: toInboundKafkaTopic
The main question is how can we resolve the warning message in the logs?