Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error communicating through Kafka #1

Open
NetBUG opened this issue Jul 22, 2020 · 2 comments
Open

Error communicating through Kafka #1

NetBUG opened this issue Jul 22, 2020 · 2 comments

Comments

@NetBUG
Copy link

NetBUG commented Jul 22, 2020

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 ;(

@NetBUG
Copy link
Author

NetBUG commented Jul 22, 2020

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.

@zylo117
Copy link
Owner

zylo117 commented Jul 23, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants