Testing a Kafka Connection

February 10, 2016

It’s occasionally useful to test a Kafka connection; for example in case you want to verify that your security groups are properly configured. Kafka speaks a binary protocol so cURL is out. It also ships with very heavy tools that are difficult to install, and so those may not be suitable in many cases either.

Luckily, a basic telnet session makes a pretty reasonable test:

$ telnet kafka.brandur.org 9092
Connected to kafka.brandur.org.
Escape character is '^]'.

Testing a Kafka Connection was published on February 10, 2016.

Find me on Twitter at @brandur.

Did I make a mistake? Please consider sending a pull request.