Introduction à Apache Kafka
Mike Metzger
Data Engineering Consultant
kafka-console-producer.shbin/, avec les autres outils Kafkabin/kafka-console-producer.sh--bootstrap-server – indique quel serveur utiliser--bootstrap-server localhost:9092--topic--topic phishing-sites| pour transmettre des messagesbin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic testing
>This is the first message
>This is the second message
>This is the third message
<ctrl+c to exit>
echo "This is the first message" |
bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic testing
Introduction à Apache Kafka