I want to push a text consisting of multiple lines as one message into a kafka topic.
After I enter:
kafka-console-producer --broker-list localhost:9092 --topic myTopic
and copy my text:
My Text consists of:
two lines instead of one
I get two messages in the kafka topic, but I want to have just one. Any ideas how to achieve that? Thanks