logagent-output-kafka

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i logagent-output-kafka

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • fbalicchia
  • sematext
  • megastef