Closed tehdeadone closed 8 years ago
I may have fixed this for 0.5.1 however it's not published yet. Could you point package.json
kafka-node to master (SOHU-Co/kafka-node
) and see if this error shows?
Sorry - didn't mean to close the issue. Will retry now and get back to you.
I don't seem to see the error again. That's great. When will 0.5.1 be out?
Today.
@tehdeadone thanks for verifying the issue. 0.5.1 has been published to npm.
Greetings - Using v1.0.1
here, I'm also facing this issue when connecting a ConsumerGroup
to a single-broker kafka cluster. When that single broker goes down, the Node.js process crashes with the following error:
/home/user/project/node_modules/kafka-node/lib/client.js:615
addr = broker.host + ':' + broker.port;
^
TypeError: Cannot read property 'host' of undefined
Using docker images:
@jbmusso I pushed out a fix. Could you verify the latest v1.0.4
is working for you?
I'm testing resilience on our app and I have both a producer and a consumer running. Pulling down one kafka broker at a time - I eventually hit this:
I don't have a one-off reproducible scenario but it comes up enough times to be a problem.
We're using v0.5.0 of kakfa-node on Kafka 0.9.0.1 and Zookeeper 3.4.8