MonsterChenzhuo commented on a change in pull request #17994:
URL: https://github.com/apache/flink/pull/17994#discussion_r784711945



##########
File path: 
flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/table/KafkaConnectorOptions.java
##########
@@ -158,6 +158,13 @@
                     .withDescription(
                             "Optional offsets used in case of 
\"specific-offsets\" startup mode");
 
+    public static final ConfigOption<String> SCAN_BOUNDED_SPECIFIC_OFFSETS =
+            ConfigOptions.key("scan.bounded.specific-offsets")
+                    .stringType()
+                    .noDefaultValue()
+                    .withDescription(
+                            "When all partitions have reached their stop 
offsets, the source will exit");
+
     public static final ConfigOption<Long> SCAN_STARTUP_TIMESTAMP_MILLIS =

Review comment:
       @nyingping 
   
![图片](https://user-images.githubusercontent.com/60029759/149496701-c2870be2-1ffa-4082-ae0e-ae7237eb33a7.png)
   The call here is `setBounded`, which sets the data source to be bounded 
directly




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to