@PublicEvolving
public static interface TopicExtractor.TopicMetadataProvider
PulsarAdmin instance, we won't expose the Pulsar admin interface for
better control the abstraction and cache support.| Modifier and Type | Method and Description |
|---|---|
TopicMetadata |
query(String topic)
The query result from Pulsar would be cached, if you set positive value in
SinkConfiguration.getTopicMetadataRefreshInterval(). |
TopicMetadata query(String topic) throws Exception
SinkConfiguration.getTopicMetadataRefreshInterval().Exception - Failed to query Pulsar metadata would throw this exception.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.