Add an Apache Kafka output module#162
Add an Apache Kafka output module#162pyr wants to merge 3 commits intosyslog-ng:masterfrom pyr:feature/kafka
Conversation
This provides a module to produce logs on an Apache Kafka distributed queue. The configuration allows choosing a fixed, random or dynamic partition key for payloads. Message payloads are generated with a template. The configuration also allows setting arbitrary metadata and topic metadata.
|
Here's a simple configuration excerpt: |
|
A few questions, while I'm reviewing:
|
|
As discussed on IRC, a better target for this module is the syslog-ng incubator, thanks for the review! |
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
macros: extract type information from MESSAGE, PROGRAM and HOST
This provides a module to produce logs on an Apache Kafka
distributed queue.
The configuration allows choosing a fixed, random or dynamic
partition key for payloads. Message payloads are generated
with a template. The configuration also allows setting
arbitrary metadata and topic metadata.