I can use kafkacat
to get a tuple from a topic and print it out:
kafkacat -b kafka10.myorg.com:9092 -t MyTopic -o -1 -f '%s\n'
And I get something like this in my terminal:
�ǐے�ғ�����������ǐے�ғ���������S1_153314S3_153314S4_5422973S2_5420991...
Is it possible for me to convert the printed out payload to binary format so I can feed that to my local code to debug?