Skip to content

bdoolaeghe/kafkap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Kafka CLI for sending message

kafkap is a Kafka CLI for sending message (body & headers) on a kafka topic.

Install

  • Make sure to dispose of golang SDK
  • install librdkafka v0.11.5 or later:
# Install the Confluent public key
wget -qO - https://packages.confluent.io/deb/5.0/archive.key | sudo apt-key add -
# Add the repository to your /etc/apt/sources.list 
sudo add-apt-repository "deb [arch=amd64] https://packages.confluent.io/deb/5.0 stable main"
# update apt cache and install librdkafka-dev
sudo apt-get update && sudo apt-get install librdkafka-dev
  • clone repo in $GOPATH/src/ and build kafkap
make setup
make build

Usage

Run kafkap for usage.

Links

About

A kafka CLI to send messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published