Hello,

I have a simple Kafka producer directly taken off of

https://kafka.apache.org/090/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html

I have changed the bootstrap.servers property.

props.put("bootstrap.servers", "localhost:9092");

I dont see any events added to the test topic.

console-producer works fine with broker localhost:9092.

*I see that if I change *props.put("metadata.fetch.timeout.ms",100);

the wait reduces but I still dont see any events in the topic.

Can someone please explain what could be going on?

- Shekar

Reply via email to