官术网_书友最值得收藏!

Using kafkacat

kafkacat is a generic command-line non-JVM utility used to test and debug Apache Kafka deployments. kafkacat can be used to produce, consume, and list topic and partition information for Kafka. kafkacat is netcat for Kafka, and it is a tool for inspecting and creating data in Kafka.

kafkacat is similar to the Kafka console producer and Kafka console consumer, but more powerful.

kafkacat is an open source utility and it is not included in Confluent Platform. It is available at https://github.com/edenhill/kafkacat.

To install kafkacat on modern Linux, type the following:

apt-get install kafkacat

To install kafkacat on macOS with brew, type the following:

brew install kafkacat

To subscribe to amazingTopic and redundantTopic and print to stdout, type the following:

kafkacat -b localhost:9093 –t amazingTopic redundantTopic

主站蜘蛛池模板: 辉南县| 安化县| 永嘉县| 台东市| 余江县| 新邵县| 大荔县| 涿州市| 西城区| 夏河县| 进贤县| 嘉定区| 翁牛特旗| 海兴县| 新闻| 迁西县| 广平县| 马尔康县| 浠水县| 南平市| 金秀| 尤溪县| 五指山市| 京山县| 屯留县| 斗六市| 上饶市| 衡水市| 黄龙县| 连州市| 凤台县| 循化| 杭锦后旗| 台南市| 门头沟区| 新安县| 旅游| 武宣县| 通榆县| 通榆县| 岳阳县|