added "KafkaAppenderWithRetryCount"
<PatternLayout pattern="%m"/>
<Property name="timeout.ms">1000</Property>
<Property name="bootstrap.servers">localhost:9092</Property>
+ </Kafka>
+ <Kafka name="KafkaAppenderWithRetryCount" topic="kafka-topic" retryCount="3" \>
+ <PatternLayout pattern="%m"/>
+ <Property name="timeout.ms">1000</Property>
+ <Property name="bootstrap.servers">fakeLoclhost:9092</Property>
</Kafka>
</Appenders>
<Loggers>
<AppenderRef ref="KafkaAppenderWithSerializedLayout"/>
<AppenderRef ref="AsyncKafkaAppender"/>
<AppenderRef ref="KafkaAppenderWithKey"/>
+ <AppenderRef ref="KafkaAppenderWithRetryCount"/>
</Root>
</Loggers>
</Configuration>
