logagent-output-kafka
v1.0.2
Published
Logagent plugin to write messages to Apache Kafka
Downloads
7
Readme
Logagent Plugin: Apache Kafka
Output plugin for @sematext/logagent. The plugin acts as message producer for Apache Kafka. This project is specular project of @sematext/logagent-input-kafka
Installation
Install @sematext/logagent and logagent-output-kafka npm package:
npm i -g @sematext/logagent
npm i -g logagent-output-kafka
Configuration
# Global options
options:
includeOriginalLine: false
input:
stdin: true
output:
kafka:
module: logagent-output-kafka
host: localhost //by default use 9092 and 9093 for ssl
topic: test
requireAcks: 1
sslEnable: false
sslOptions:
- rejectUnauthorized: false
Start logagent
logagent --config logagent-kafka-output.yaml