public class KafkaLogSinkProvider extends Object implements LogSinkProvider
LogSinkProvider
.Constructor and Description |
---|
KafkaLogSinkProvider(String topic,
Properties properties,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> primaryKeySerializer,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> valueSerializer,
CoreOptions.LogConsistency consistency,
CoreOptions.LogChangelogMode changelogMode) |
Modifier and Type | Method and Description |
---|---|
LogSinkFunction |
createSink()
Creates a
LogSinkFunction instance. |
public KafkaLogSinkProvider(String topic, Properties properties, @Nullable org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> primaryKeySerializer, org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData> valueSerializer, CoreOptions.LogConsistency consistency, CoreOptions.LogChangelogMode changelogMode)
public LogSinkFunction createSink()
LogSinkProvider
LogSinkFunction
instance.createSink
in interface LogSinkProvider
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.