kafka-c(): Publish messages to Apache Kafka (C implementation)

AxoSyslog can directly publish log messages to the Apache Kafka message bus, where subscribers can access them.

The kafka-c() destination uses the librdkafka client library, which scales well, uses memory efficiently, and needs no Java runtime. It replaces the earlier Java implementation, which AxoSyslog has removed. If you’re migrating a configuration written for the Java implementation, see Shifting from Java implementation to C implementation.

You can also configure this destination under the name kafka(), which is an SCL alias for kafka-c(). For details, see kafka: Publish messages to Apache Kafka.

How the C implementation of the kafka destination works with AxoSyslog

Prerequisites