public interface Provider extends org.apache.kafka.common.Configurable, Closeable
Modifier and Type | Method and Description |
---|---|
String |
providerName()
Returns the name of this provider.
|
default CompletionStage<Void> |
start(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo,
Map<String,?> interBrokerListenerConfigs)
Starts a provider and returns a future that is completed when the provider is ready.
|
boolean |
usesMetadataFromThisKafkaCluster()
Returns true if this provider uses metadata from a Kafka topic on this cluster.
|
default CompletionStage<Void> start(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo, Map<String,?> interBrokerListenerConfigs)
serverInfo
- Runtime broker configuration metadatainterBrokerListenerConfigs
- Client configs for using inter-broker listener
For brokers that host metadata service, these client configs may be used to access metadata
topic if metadata client configs are not explicitly overridden. This avoids the need for
redundant configs for brokers in the metadata cluster.String providerName()
boolean usesMetadataFromThisKafkaCluster()