Interface AuthorizerServerInfo
@Evolving public interface AuthorizerServerInfo
Runtime broker configuration metadata provided to authorizers during start up.
-
Method Summary
Modifier and Type Method Description intbrokerId()Returns broker id.ClusterResourceclusterResource()Returns cluster metadata for the broker running this authorizer including cluster id.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 Details
-
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
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().
-