Create multiple consumers in Kafka in command line

前端 未结 5 679
孤城傲影
孤城傲影 2021-02-08 05:59

I\'m new in Kafka. When I was running the quick start example in command line, I found I can\'t create multiple consumers in command line.

Condition:

I built a t

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-08 06:26

    Besides using --consumer.config option like the secfree's answer, you can also use

    --consumer-property group.id=your_group

    option to specify a group name without editing the config file.

提交回复
热议问题