Class KafkaAccessLogWriter<K,​V>

java.lang.Object
com.linecorp.armeria.server.logging.kafka.KafkaAccessLogWriter<K,​V>
All Implemented Interfaces:
AccessLogWriter

public final class KafkaAccessLogWriter<K,​V>
extends Object
implements AccessLogWriter
An AccessLogWriter that sends access logs to a Kafka backend.

This method returns immediately after the Producer.send(ProducerRecord, Callback) returns rather than waiting for returned Future completes so logs which are written and are not yet flushed can be lost if an application crashes in unclean way.