/usr/local/Cellar/kafka/2.8.0/bin/kafka-console-consumer --topic orders --from-beginning --bootstrap-server localhost:9092 (--from-beginning flag will show all messages that were received for this particular topic)
/usr/local/Cellar/kafka/2.8.0/bin/kafka-console-consumer --topic orders --from-beginning --bootstrap-server localhost:9092 (--from-beginning flag will show all messages that were received for this particular topic)
```
if you're still getting errors finding the pathway for kafka, try running:
if you're still getting errors finding the pathway for kafka, try running:
ls -alrth /usr/local/Cellar/kafka/
```
ls -alrth /usr/local/Cellar/kafka/
```
then find your way to the bin directory where you'll find all the kafka commands
then find your way to the bin directory where you'll find all the kafka commands