kafka-rpc
kafka-rpc copied to clipboard
Error communicating through Kafka
Hi! The projects seems cool and I'd like to use it. The problem is that I cannot make it work as it cannot communicate with Kafka.
The server is running on another machine in a Docker env (bitnami/kafka-2.5.0 image).
The error I get looks
Failed to create topic krpc_sum_server: KafkaError{code=_TIMED_OUT,val=-185,str="Timed out waiting for controller"}
I could not make it work yet ;(
Update: the demo worked with 9093 port (with a delay of ~10 sec, which is fine but a bit unexpected), the real code throws ERROR:kafka_rpc.client:failed to handshake with krpc_servicename_server error, looking for it.
Kafka sometimes crash for unknown reason. I'd clean up all kafka and zookeeper's cache and restart docker. And the first time is really slow, but it gets better afterward.