if your messages are UTF-8 encoded strings, Kafka Tool can show the actual string instead of the regular hexadecimal format.
From the Kafka Tool Documentation:
By default Kafka Tool will show your messages and keys in hexadecimal format. However, if your messages are UTF-8 encoded strings, Kafka Tool can show the actual string instead of the regular hexadecimal format.
How do I turn my message into utf8?
View Messages You can select how many messages to view at once and which offset to read messages from. You can view the oldest or newest messages, or you can specify a starting offset where to start reading the messages from. By default Offset Explorer will show your messages and keys in hexadecimal format.
Kafka Tool is a GUI application for managing and using Apache Kafka clusters. It provides an intuitive UI that allows one to quickly view objects within a Kafka cluster as well as the messages stored in the topics of the cluster. It contains features geared towards both developers and administrators.
chroot path - path where the kafka cluster data appears in Zookeeper. The defalit value is correct in most cases.
The setup is per topic.
Go to:
Clusters > Topics > select topic > Properties > Content Types section > change Key and Message from Byte Array to String.
Then you can go to that topic > Partitions > your partition > Retrieve Messages .
do not miss to press update as the button is in corner and sometimes not visible if you have a bigger screen
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With