| Package | Description |
|---|---|
| org.apache.flink.connector.pulsar.sink.writer | |
| org.apache.flink.connector.pulsar.sink.writer.topic.register |
| Constructor and Description |
|---|
PulsarWriter(SinkConfiguration sinkConfiguration,
PulsarSerializationSchema<IN> serializationSchema,
TopicRegister<IN> topicRegister,
TopicRouter<IN> topicRouter,
MessageDelayer<IN> messageDelayer,
org.apache.pulsar.client.api.CryptoKeyReader cryptoKeyReader,
org.apache.flink.api.connector.sink2.Sink.InitContext initContext)
Constructor creating a Pulsar writer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicTopicRegister<IN>
The register for returning dynamic topic partitions information.
|
class |
EmptyTopicRegister<IN>
The topic register which would do nothing for just return an empty topic partitions.
|
class |
FixedTopicRegister<IN>
We need the latest topic metadata for making sure the newly created topic partitions would be
used by the Pulsar sink.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.