In section 2.7.3, the command to use the console producer to send messages to the topic first-topic is stated as
 bin/kafka-console-producer.sh --topic first-topic --broker-list localhost:9092
. The producer should be provided bootstrap-server instead of broker-list. The correct command is
./bin/kafka-console-consumer --topic first-topic --bootstrap-server localhost:9092
.