- Apache Kafka Quick Start Guide
- Raúl Estrada
- 130字
- 2021-07-02 14:26:55
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
推薦閱讀
- Web前端開發(fā)技術:HTML、CSS、JavaScript(第3版)
- 零基礎玩轉區(qū)塊鏈
- Vue.js快跑:構建觸手可及的高性能Web應用
- 從程序員到架構師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務、多團隊協(xié)同等核心場景實戰(zhàn)
- Python神經網絡項目實戰(zhàn)
- 差分進化算法及其高維多目標優(yōu)化應用
- ASP.NET 3.5程序設計與項目實踐
- Flutter跨平臺開發(fā)入門與實戰(zhàn)
- Moodle 3 Administration(Third Edition)
- Tableau Dashboard Cookbook
- PHP+MySQL Web應用開發(fā)教程
- 你必須知道的.NET(第2版)
- Zend Framework 2 Cookbook
- 基于JavaScript的WebGIS開發(fā)
- 開發(fā)者測試