Interface AuthorizerServerInfo
-
@Evolving public interface AuthorizerServerInfo
Runtime broker configuration metadata provided to authorizers during start up.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intbrokerId()Returns broker id.ClusterResourceclusterResource()Returns cluster metadata for the broker running this authorizer including cluster id.java.util.Collection<Endpoint>endpoints()Returns endpoints for all listeners including the advertised host and port to which the listener is bound.EndpointinterBrokerEndpoint()Returns the inter-broker endpoint.
-
-
-
Method Detail
-
clusterResource
ClusterResource clusterResource()
Returns cluster metadata for the broker running this authorizer including cluster id.
-
brokerId
int brokerId()
Returns broker id. This may be a generated broker id if `broker.id` was not configured.
-
endpoints
java.util.Collection<Endpoint> endpoints()
Returns endpoints for all listeners including the advertised host and port to which the listener is bound.
-
interBrokerEndpoint
Endpoint interBrokerEndpoint()
Returns the inter-broker endpoint. This is one of the endpoints returned byendpoints().
-
-