@Internal public class FixedTopicRegister<IN> extends Object implements TopicRegister<IN>
| Constructor and Description |
|---|
FixedTopicRegister(List<String> topics) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(SinkConfiguration sinkConfiguration,
org.apache.flink.api.common.operators.ProcessingTimeService timeService)
Register the topic metadata update in process time service.
|
List<String> |
topics(IN in)
Return all the available topic partitions.
|
public void open(SinkConfiguration sinkConfiguration, org.apache.flink.api.common.operators.ProcessingTimeService timeService)
TopicRegisteropen in interface TopicRegister<IN>public List<String> topics(IN in)
TopicRegistertopics in interface TopicRegister<IN>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.