this situation occurs when i killed some nodes from kafka nodes cluster.
for the reason that  the error code is zeor, i cannot find out the real
reason

---------- Forwarded message ----------
From: Fredo Lee <buaatianwa...@gmail.com>
Date: 2015-11-23 20:45 GMT+08:00
Subject: cannot decode consumer metadata response
To: users@kafka.apache.org


i have four kafka nodes with broker id: 1,2,3,4
my kafka version is 0.8.2.2

i wrote a consumer client according to kafka protocol

i killed one kafka node and wanted to reget coordinator broker.
i got this binary string:
0,0,0,0,0,0,0,1,0,4,98,108,99,115,0,0,0,1,0,0,0,7,0,0,0,0,0,0,0,
0,0,0,0,0,0,0

every number is 8 bit length
the first four number indicates that my CorrelationId is 0.

but with this binary string, the coordinator broker is is wrong(here is
65540)

how can i fix this question.

this binary by consumer metatada endpoint is not always returned, but when
returned, i always got it many times.

Reply via email to