We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48b4d69 commit 18d3701Copy full SHA for 18d3701
log4j-appender/src/main/java/org/apache/kafka/log4jappender/KafkaLog4jAppender.java
@@ -117,7 +117,7 @@ public void activateOptions() {
117
if (compressionType != null)
118
props.put(COMPRESSION_TYPE_CONFIG, compressionType);
119
if (requiredNumAcks != Integer.MAX_VALUE)
120
- props.put(ACKS_CONFIG, requiredNumAcks);
+ props.put(ACKS_CONFIG, Integer.toString(requiredNumAcks));
121
if (retries > 0)
122
props.put(RETRIES_CONFIG, retries);
123
0 commit comments