Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-tools

Usage

Completion

  $ source <(kafka-tools completion)

Consumer

  $ kafka-tools consume -t Topic -f raw | while read line; \
    do \
      echo $line | protoc -I ~/path_to/proto_libs/ --decode=package.ProtoMessage ~/path_to/message.proto; \
      echo ;\
    done

Producer

  $ cat ~/proto_data | protoc -I ~/path_to/proto_libs/ --encode=package.ProtoMessage ~/path_to/message.proto | \ 
  kafka-tools produce -t Topic -H header=value -b 127.1.1.2:9092

About

Simple tools for Kafka written in Go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages