Starting with version 3.21, syslog-ng Open Source Edition (syslog-ng OSE) can directly publish log messages to the Apache Kafka message bus, where subscribers can access them.

As of syslog-ng OSE version 3.21, the new C implementation of the kafka destination is available. The new implementation uses the librdkafka client and has several advantages, such as scalability, more efficient memory usage and simpler setup. The options of this implementation are not exactly compatible with those of the old Java implementation, see Shifting from Java implementation to C implementation for the differences. Version 4.9.0 has dropped the Java implementation. kafka() and kafka-c() can now be used interchangeably; both refer to the single remaining C implementation.

Figure 11: How the C implementation of the kafka destination works with syslog-ng OSE

Updated: