You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2013/02/13 01:31:12 UTC
[jira] [Updated] (KAFKA-755) standardizing json values stored in ZK
[ https://issues.apache.org/jira/browse/KAFKA-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao updated KAFKA-755:
--------------------------
Fix Version/s: 0.8
Description:
Currently, we have the following paths in ZK that stores non-singleton values.
1. Topic assignment value:
/brokers/topics/topic
{ "0": ["0"] }
2. LeaderAndISR info:
/brokers/topics/test/partitions/0/leaderAndISR
{ "ISR":"0,1","leader":"0","controllerEpoch":"1","leaderEpoch":"0" }
3. broker registration:
/brokers/ids/0
192.168.1.148:9092:9999
4. partition reassignment path
It would be good if we do the following:
a. make them true json (e.g., using number as the value for broker/partition, instead of string).
b. add version support for future growth.
was:
Currently, we have the following paths in ZK that stores non-singleton values.
1. Topic assignment value:
/brokers/topics/topic
{ "0": ["0"] }
2. LeaderAndISR info:
/brokers/topics/test/partitions/0/leaderAndISR
{ "ISR":"0","leader":"0","controllerEpoch":"1","leaderEpoch":"0" }
3. broker registration:
/brokers/ids/0
192.168.1.148:9092:9999
4. partition reassignment path
It would be good if we do the following:
a. make them true json (e.g., using number as the value for broker/partition, instead of string).
b. add version support for future growth.
Affects Version/s: 0.8
> standardizing json values stored in ZK
> --------------------------------------
>
> Key: KAFKA-755
> URL: https://issues.apache.org/jira/browse/KAFKA-755
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8
> Reporter: Jun Rao
> Priority: Blocker
> Fix For: 0.8
>
>
> Currently, we have the following paths in ZK that stores non-singleton values.
> 1. Topic assignment value:
> /brokers/topics/topic
> { "0": ["0"] }
> 2. LeaderAndISR info:
> /brokers/topics/test/partitions/0/leaderAndISR
> { "ISR":"0,1","leader":"0","controllerEpoch":"1","leaderEpoch":"0" }
> 3. broker registration:
> /brokers/ids/0
> 192.168.1.148:9092:9999
> 4. partition reassignment path
> It would be good if we do the following:
> a. make them true json (e.g., using number as the value for broker/partition, instead of string).
> b. add version support for future growth.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira