gerritjvv/kafka-fast

some error when run the example

tongqqiu opened this issue · 4 comments

I got the following error, even though the test topic was created.

2015-07-06 14:19:11 INFO client:1 - Creating producer 10.10.20.23 9092
2015-07-06 14:19:11 INFO produce:1 - Creating client instance 10.10.20.23 : 9092
2015-07-06 14:19:11 INFO produce:1 - Creating client instance 10.10.20.23 : 9092
2015-07-06 14:19:13 ERROR client:1 - unrecoverable error :no-partitions for topic test messages 1 saving to retry cache and retry at a later time
2015-07-06 14:19:13 ERROR client:1 - Fatal error, cannot persist messages for topic test to retry cache messages 1

sorry for the late reply, could you send me the commands you ran in the repl?
I will try to reproduce the issue.

Note: that sometimes during tests I did notice that in the vagrant setup, kafka does not alway propagate the topic creation properly. The kafka client asks the brokers for metadata and get nothing back, so it doesn't know where to send the message to.

@tongqqiu have you been able to make it work for you? I ran the examples but couldn't reproduce the error

My problem of some settings. Close it.

ok, glad you could fix it :).