...
- FromKRaftController to true
- ClusterId to the Kafka cluster ID
- The ControllerId to the true Raft leader ID
Response type | Topics Section | "Brokers" Section | Comments |
---|---|---|---|
Successful response from KRaft controller | empty | Controller endpoint information as given in controller.quorum.voters | The "direct to controller" case. |
Error response from if topics were given in request | the given topics, with an INVALID_REQUEST error for each | Empty | It is an error to ask about specific topics. |
Error response if no topics were given in request | the __cluster_metadata topic with the expected error code | Empty | There is no top-level error code in MetadataResponse, so we use the __cluster_metadata topic to send back our error. |
Compatibility, Deprecation, and Migration Plan
...