I'm doing a test run with Kafka using the command line producer and consumer.
I'm running this in one Terminal window
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic tag7
and this in another
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic tag7 --zookeeper localhost:2181
but it takes over 1 second for the data that I sent to be printed by the consumer. The data that I'm sending is what I type in to the producer, so basically 1 message every few seconds. Are there any configuration options I can change so that the Kafka broker expects very few messages per second and thus makes the messages move significantly quicker?
I'm using the default configurations of Zookeeper and Kafka, so I haven't configured much.
Thank you in advance!