Closed
Description
Burrow does not seem to pick up changes to partitions in a topic until it's restarted.
Steps:
- clone latest burrow from github (go get)
- Start burrow up with default configs (changed broker/zk hosts)
- http://localhost:8000/v2/kafka/local/topic to show my test topic "test.jim1" does not appear
- create a topic in kafka called "test.jim1" with 1 partition
- change meta refresh interval to 30 seconds to force faster refresh of client.Topics call
- webpage shows 1 partition
- add partition to topic
- describe topics on kafka shows 2 partitions, after several metadata refreshes burrow still shows 1 partition
- on burrow restart, both partitions are now reflected.
Is this a regression or?
Figured I'd ask before digging into the code.
*updated, new topics works after the meta refresh internal, documenting partition refresh still doesn't
Activity
jiminoc commentedon Sep 27, 2017
found it, PR coming
The addBrokerOffset function was attempting to handle expanding parti…
toddpalino commentedon Sep 28, 2017
Resolved by #251
DavidLiuXh commentedon Nov 29, 2017
Also need to do the same thing for addConsumerOffset function