title: Kafka how to set producer retries to Infinity
body: <p>How can I set the spring-boot property : spring.kafka.producer.retries to Integer.MAX_VALUE ?</p>
  
  <p>Is it working to unset this property or this will default to 0 ?</p>
  
  <p>@See default kafka in KIP
  <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-98+-+Exactly+Once+Delivery+and+Transactional+Messaging" rel="nofollow noreferrer">https://cwiki.apache.org/confluence/display/KAFKA/KIP-98+-+Exactly+Once+Delivery+and+Transactional+Messaging</a></p>