| Modifier and Type | Method and Description |
|---|---|
PulsarSinkBuilder<IN> |
PulsarSinkBuilder.setTopicRoutingMode(TopicRoutingMode topicRoutingMode)
Set a routing mode for choosing right topic partition to send messages.
|
| Modifier and Type | Method and Description |
|---|---|
static TopicRoutingMode |
TopicRoutingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicRoutingMode[] |
TopicRoutingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.flink.configuration.ConfigOption<TopicRoutingMode> |
PulsarTableOptions.SINK_TOPIC_ROUTING_MODE |
| Modifier and Type | Method and Description |
|---|---|
static TopicRoutingMode |
PulsarTableOptionUtils.getTopicRoutingMode(org.apache.flink.configuration.ReadableConfig readableConfig) |
| Constructor and Description |
|---|
PulsarTableSink(PulsarTableSerializationSchemaFactory serializationSchemaFactory,
org.apache.flink.table.connector.ChangelogMode changelogMode,
List<String> topics,
Properties properties,
org.apache.flink.connector.base.DeliveryGuarantee deliveryGuarantee,
TopicRouter<org.apache.flink.table.data.RowData> topicRouter,
TopicRoutingMode topicRoutingMode,
long messageDelayMillis) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.