I have a spring boot application with Spring for Apache Kafka being used to send messages to topics on a kafka cluster. I've autowired a property for delivery.timeout.ms and after the application starts and the producer is configured, the application logs show the property's value was not set and it gives the warning: "WARN [task-scheduler-1] org.apache.kafka.clients.producer.ProducerConfig [] --- The configuration 'delivery.timeout.ms' was supplied but isn't a known config"
I've checked my POM and confirmed that I'm using the following two dependencies:
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
<version>2.2.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.1.0</version>
</dependency>
I've also confirmed that the property existed in version 2.1.0: https://kafka.apache.org/21/javadoc/org/apache/kafka/clients/producer/ProducerConfig.html
I see posts with a similiar warning for other properties mentioning that it can be ignored; however, my application is experiencing undesirable behavior which could be corrected by setting this property based on its description.