Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

samsung-cnct/fluent-bit-kafka-output-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluent-bit-kafka-output-plugin

NOTE: fluent-bit can be built with a kafka plugin now. Therefore this plugin and repository have been deprecated. Please see the upstream container at https://hub.docker.com/r/fluent/fluent-bit

Kafka Output Plugin for FluentBit

To deploy as a sidecar in Kubernetes: https://github.com/leahnp/fluentbit-sidecar

Message me with any comments or suggestions!

Info on FluentBit: https://github.com/fluent/fluent-bit

Info on Golang Output Plugins for FluentBit: https://github.com/fluent/fluent-bit-go

Run locally for development:

Follow the instructions here to start zookeeper and kafka locally on your computer.

Download Fluent-bit locally. Build Fluent-bit. Test Fluent-bit is installed and built properly by running: bin/fluent-bit -i random -o stdout from your Fluent-bit build directory. This command starts Fluent-bit, tells it to use "random" for the input plugin and "stdout" for the output plugin.

Now we want to run Fluent-bit with the kafka output plugin. bin/fluent-bit -v -e <path to ../fluent-bit-kafka-output-plugin/out_kafka.so> -i random -o out_kafka. Remember to change the broker list in the plugin to: "localhost:9092" and re-"MAKE".

Note: make sure you configure the proper topic locally - currently Fluent-bit-output-plugin uses: logs_default but the Kafka quickstart only adds test topic.

About

Kafka Output Plugin for FluentBit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published