kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Hedbrandh <christo...@knewton.com>
Subject Still Stale TopicMetadata
Date Tue, 30 Sep 2014 17:00:02 GMT
Hi Kafka users,

Was there ever a JIRA ticket filed for this?

"Re: Stale TopicMetadata"


As far as I can tell this is still an issue in

Using the python client (VERSION 0.2-alpha):
client = KafkaClient(host, port)
request_id = client._next_id()
KafkaProtocol.encode_metadata_request(client.client_id, request_id,
response = client._send_broker_unaware_request(request_id, request)
brokers, topics = KafkaProtocol.decode_metadata_response(response)

the meta data returned tells me only a subset of the replicas are in-sync

{'test-topic-1': {0: PartitionMetadata(topic='test-topic-1', partition=0,
leader=2018497752, replicas=(2018497752, 915105820, 1417963519),

but when I fetch meta data with the kafka-topics.sh --describe tool, it
looks like all replicas are in sync.

Topic:test-topic-1 PartitionCount:1 ReplicationFactor:3 Configs:retention.ms
Topic: test-topic-1 Partition: 0 Leader: 2018497752 Replicas:
2018497752,915105820,1417963519 Isr: 2018497752,915105820,1417963519

I looked around for a JIRA ticket for this but couldn't find one. Please
let me know where this bug is tracked.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message