改良彩色卡夫卡
ickafka的Python项目详细描述
卡夫卡
卡夫卡的有色消费品。名字的灵感来自icdiff。
安装
pip install ickafka
用法
以最新偏移量开始消费:
ickafka -s localhost:9092 -t my_test_topic
指定用户组名称(默认为无):
ickafka -s localhost:9092 -t my_test_topic -g testgroup
使用最早偏移量的所有消息:
ickafka -s localhost:9092 -t my_test_topic -o earliest
将所有已使用的消息捕获到json文件中:
ickafka -s localhost:9092 -t my_test_topic --capture
禁用颜色:
ickafka -s localhost:9092 -t my_test_topic --no-color