kafka-sample

command module
v0.0.0-...-eae4b23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

README

usage

 -enable-log-sarama
        print out sarama log
  -es-host string
        elastic search host
  -es-index string
        targeted index of elastic search
  -es-type string
        targeted type of elastic search
  -kafka-broker string
        kafka broker host
  -kafka-group-name string
        targeted kafka group name 
  -kafka-topic string
        targeted kafka topic

example : go run main.go --es-host http://localhost:9200 --es-index someIndex --es-type _doc --kafka-broker localhost:9092 --kafka-group-name cg-something --kafka-topic some-topic --enable-log-sarama

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL