/var/www/yatta47.log

/var/www/yatta47.log

やったのログ置場です。スクラップみたいな短編が多いかと。

kafkacatインストール方法

f:id:yatta47:20200301125212p:plain

KafkaのProducer/Consumerのクライアントとして便利なkafkacatのインストール方法。

環境はUbuntu18.04です。

$ sudo apt-get install kafkacat

以上。ちゃんと入りました。

$ kafkacat -V
kafkacat - Apache Kafka producer and consumer tool
https://github.com/edenhill/kafkacat
Copyright (c) 2014-2015, Magnus Edenhill
Version 1.3.1 (JSON) (librdkafka 0.11.3 builtin.features=gzip,snappy,ssl,sasl,regex,lz4,sasl_gssapi,sasl_plain,sasl_scram,plugins)

参考ページ

GitHub - edenhill/kcat: Generic command line non-JVM Apache Kafka producer and consumer