You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/connectors/pipeline-connectors/fluss.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,13 @@ Pipeline Connector Options
100
100
<td>String</td>
101
101
<td>The bootstrap servers for the Fluss sink connection. </td>
102
102
</tr>
103
+
<tr>
104
+
<td>auto.create.table.enabled</td>
105
+
<td>optional</td>
106
+
<td style="word-wrap: break-word;">true</td>
107
+
<td>Boolean</td>
108
+
<td>Whether to automatically create the Fluss table when the target table does not exist. If disabled, the target Fluss table must already exist before the pipeline starts, otherwise the pipeline will fail.</td>
109
+
</tr>
103
110
<tr>
104
111
<td>bucket.key</td>
105
112
<td>optional</td>
@@ -140,6 +147,7 @@ Pipeline Connector Options
140
147
* Support Fluss primary key table and log table.
141
148
142
149
* For creating table automatically
150
+
* Automatic table creation is enabled by default. To require pre-created target tables, set `auto.create.table.enabled` to `false`.
143
151
* There is no partition key
144
152
* The number of buckets is controlled by `bucket.num`
145
153
* The distribution keys are controlled by option `bucket.key`. For primary key table and a bucket key is not specified, the bucket key will be used as primary key(excluding the partition key). For log table has no primary key and the bucket key is not specified, the data will be distributed to each bucket randomly.
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/main/java/org/apache/flink/cdc/connectors/fluss/factory/FlussDataSinkFactory.java
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/main/java/org/apache/flink/cdc/connectors/fluss/sink/FlussDataSink.java
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -37,16 +37,19 @@ public class FlussDataSink implements DataSink {
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/main/java/org/apache/flink/cdc/connectors/fluss/sink/FlussDataSinkOptions.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,13 @@ public class FlussDataSinkOptions {
33
33
.noDefaultValue()
34
34
.withDescription("The bootstrap servers for the Fluss sink connection.");
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/main/java/org/apache/flink/cdc/connectors/fluss/sink/FlussMetaDataApplier.java
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/test/java/org/apache/flink/cdc/connectors/fluss/factory/FlussDataSinkFactoryTest.java
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-fluss/src/test/java/org/apache/flink/cdc/connectors/fluss/sink/FlussMetadataApplierTest.java
0 commit comments