THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
rack will be an optional field of version 23 JSON schema for a broker. e.g.: The API ZkUtils.registerBrokerInZk will be updated to increment the JSON version.
For example:
Code Block |
---|
{"version":23, "host","localhost", "port",9092 "jmx_port":9999, "timestamp":"2233345666", "endpoints": ["PLAINTEXT://host1:9092", "SSL://host1:9093"], "rack": "dc1" } |
If no rack information is specified, the field will not be included in JSON.
Rack can be specified in the broker property file as
...