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/table/kafka.md
+8
Original file line number
Diff line number
Diff line change
@@ -369,6 +369,14 @@ Connector Options
369
369
<td>Duration</td>
370
370
<td>Interval for consumer to discover dynamically created Kafka topics and partitions periodically. To disable this feature, you need to explicitly set the 'scan.topic-partition-discovery.interval' value to 0.</td>
371
371
</tr>
372
+
<tr>
373
+
<td><h5>scan.parallelism</h5></td>
374
+
<td>optional</td>
375
+
<td>no</td>
376
+
<td style="word-wrap: break-word;">(none)</td>
377
+
<td>Integer</td>
378
+
<td>Defines the parallelism of the Kafka source operator. If not set, the global default parallelism is used.</td>
Copy file name to clipboardExpand all lines: flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/KafkaConnectorOptions.java
+1
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,7 @@ public class KafkaConnectorOptions {
Copy file name to clipboardExpand all lines: flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/KafkaDynamicSource.java
+18-4
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@
71
71
importjava.util.Locale;
72
72
importjava.util.Map;
73
73
importjava.util.Objects;
74
+
importjava.util.Optional;
74
75
importjava.util.Properties;
75
76
importjava.util.regex.Pattern;
76
77
importjava.util.stream.Collectors;
@@ -171,6 +172,9 @@ public class KafkaDynamicSource
171
172
172
173
protectedfinalStringtableIdentifier;
173
174
175
+
/** Parallelism of the physical Kafka consumer. * */
Copy file name to clipboardExpand all lines: flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/KafkaDynamicTableFactory.java
Copy file name to clipboardExpand all lines: flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/UpsertKafkaDynamicTableFactory.java
Copy file name to clipboardExpand all lines: flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/table/KafkaDynamicTableFactoryTest.java
0 commit comments