One terminal:
➜ kafkacat git:(master) ./kafkacat -P -b 172.30.246.240:9092 -t input_demo
FUCK
yeah
this
works
On the other (consumer), I got:
➜ kafkacat git:(master) ./kafkacat -C -b 172.30.246.240:9092 -t input_demo
% Reached end of topic input_demo [0] at offset 0
FUCK
yeah
% Reached end of topic input_demo [0] at offset 2
this
% Reached end of topic input_demo [0] at offset 3
works
% Reached end of topic input_demo [0] at offset 4