public class KafkaLogicalClusterMetadataLoader extends Object implements org.apache.kafka.server.multitenant.MultiTenantMetadataLoader
| Constructor and Description |
|---|
KafkaLogicalClusterMetadataLoader(Map<String,?> baseClientProperties,
org.apache.kafka.common.metrics.Metrics metrics,
org.apache.kafka.common.utils.Time time)
The constructor used during Kafka startup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
Map<org.apache.kafka.common.Endpoint,CompletableFuture<Void>> |
start(Collection<org.apache.kafka.common.Endpoint> endpoints,
List<org.apache.kafka.server.multitenant.MultiTenantMetadataPublisher> multiTenantMetadataPublishers) |
public KafkaLogicalClusterMetadataLoader(Map<String,?> baseClientProperties, org.apache.kafka.common.metrics.Metrics metrics, org.apache.kafka.common.utils.Time time)
baseClientProperties - client configurations used as a base for the internal topic consumermetrics - the global Metrics instancetime - an implementation of TimeConfluentConfigs.buildMultiTenantMetadataLoader(AbstractConfig, Map, Metrics)public Map<org.apache.kafka.common.Endpoint,CompletableFuture<Void>> start(Collection<org.apache.kafka.common.Endpoint> endpoints, List<org.apache.kafka.server.multitenant.MultiTenantMetadataPublisher> multiTenantMetadataPublishers)
start in interface org.apache.kafka.server.multitenant.MultiTenantMetadataLoaderpublic void close()
throws Exception
close in interface AutoCloseableException