Aan de slagGa gratis aan de slag

Topically important

As you're working with Kafka, one of your teammates has asked for help with a strange problem. They're writing to a topic, known_phishing_urls using the following command:

echo "Test message" | bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic known_phshing_urls

However, when they use the following command to read the content, nothing shows up.

bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic known_phishing_urls --from-beginning --max-messages 1

What do you think is the reason this happens?

Deze oefening maakt deel uit van de cursus

Introduction to Apache Kafka

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen