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 int
brokerId()
Returns broker id.ClusterResource
clusterResource()
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.Endpoint
interBrokerEndpoint()
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
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()
.
-
-