Publish message by reading from stdin

kcat

echo {{message}} | kcat -P -t {{topic}} -b {{brokers}}

click the source code to copy