Create a broker object from id and JSON string.
Create a broker object from id and JSON string.
Version 1 JSON schema for a broker is: {"version":1, "host":"localhost", "port":9092 "jmx_port":9999, "timestamp":"2233345666" } The current JSON schema for a broker is: {"version":2, "host","localhost", "port",9092 "jmx_port":9999, "timestamp":"2233345666", "endpoints": ["PLAINTEXT://host1:9092", "SSL://host1:9093"]
Containing serialized broker. Current serialization is: id (int), number of endpoints (int), serialized endpoints
broker object
A Kafka broker. A broker has an id and a collection of end-points. Each end-point is (host, port, protocolType).