link3280 opened a new pull request #10674: [FLINK-15220][Connector/Kafka][Table] Add startFromTimestamp in KafkaTableSource URL: https://github.com/apache/flink/pull/10674 ## What is the purpose of the change KafkaTableSource supports all startup modes in DataStream API except `startFromTimestamp`, but `startFromTimestamp` is a common and valid use case in Table/SQL API as well. ## Brief change log - Add `startFromTimestamp(long)` to Kafka descriptor API. - Add new keys `connector.startup-timestamp-millis` and `connector.startup-timestamp` to Kafka connector properties. - Add new value `timestamp` to `connector.startup-mode` in Kafka connector properties. - Add startup timestamp parameter to KafkaTableSource and KafkaTableSourceSinkFactory. ## Verifying this change This change added tests and can be verified as follows: - Added tests to verify Kafka descriptor API generated properties. - Added tests to verify the validation of new properties of timestamp startup mode in KafkaValidator. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: yes - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? not documented
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
