Increase number of retries from the default of 0
Author: Eno Thereska
Reviewers: Damian Guy Matthias J. Sax Ismael Juma
Closes from enothereska/minor-increase-retries
@@ -391,6 +391,7 @@ public class StreamsConfig extends AbstractConfig {
static {
final Map<String, Object> tempProducerDefaultOverrides = new HashMap<>();
tempProducerDefaultOverrides.put(ProducerConfig.LINGER_MS_CONFIG, "100");
+ tempProducerDefaultOverrides.put(ProducerConfig.RETRIES_CONFIG, 10);
PRODUCER_DEFAULT_OVERRIDES = Collections.unmodifiableMap(tempProducerDefaultOverrides);
}
