Apache Kafka uses a basic, high-performance, language-agnostic TCP protocol to facilitate communication between clients and servers.
Backward compatibility exists between this protocol and its predecessor.
xxxxxxxxxx
./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 \
--topic streams-wordcount-output \
--from-beginning \
--formatter kafka.tools.DefaultMessageFormatter \
--property print.key=true \
--property print.value=true \
--property key.deserializer=org.apache.kafka.common.serialization.StringDeserializer \
--property value.deserializer=org.apache.kafka.common.serialization.LongDeserializer
Running 1
Kafka 1
Learning 1
about 1
Kafka 2
Connect 1
https://www.oreilly.com/library/view/kafka-connect/9781098126520/ch01.html