Nondeterministic Programming Methodology
Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i logagent-output-kafka

DownloadsWeekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar