April 12, 2020
Using kaf for Azure EventHub
Since kaf v0.1.35 it is now possible to interact with Azure EventHub. Kaf is a modern CLI to interact with Kafka, i.e. producing data, consuming, or viewing topic and Consumer Group information. Now having first-class support for EventHub makes EventHub much more accessible than before. In the following Example i’ll show how to set up kaf for your EventHub. It’s very simple.
Install kaf There’s several ways to install kaf.
Install script curl https://raw.githubusercontent.com/birdayz/kaf/master/godownloader.sh | BINDIR=$HOME/bin bash Via AUR yay -S kaf Via Go go get github.com/birdayz/kaf/cmd/kaf Setup EventHub To create an EventHub, you have to first create an EventHubs namespace. The equivalent to a EventHub Namespace in the Kafka world is a Kafka Cluster.
Read more