GitHub user twalthr opened a pull request: https://github.com/apache/flink/pull/6387
[FLINK-9846] [table] Add a Kafka table sink factory ## What is the purpose of the change This PR adds a Kafka table sink factory with format discovery. Currently, this enable the SQL Client to write Avro and JSON data to Kafka. The functionality is limited due to FLINK-9870. Therefore, it is currently not possible to use time attributes in the output. ## Brief change log - Decouple Kafka sink from formats and deprecate old classes - Add a Kafka table sink factory ## Verifying this change Existing tests for the `KafkaTableSourceFactory` have been generalized to support sinks as well. ## 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 yet You can merge this pull request into a Git repository by running: $ git pull https://github.com/twalthr/flink FLINK-9846 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/6387.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6387 ---- commit d94bb86b2b6e08d711c30c7da7fc2c521c17d4ec Author: Timo Walther <twalthr@...> Date: 2018-07-23T06:12:00Z [FLINK-9846] [table] Update KafkaTableSink class structure commit 7328bb2a45070201b14500106af503e6519f1056 Author: Timo Walther <twalthr@...> Date: 2018-07-20T10:35:57Z [FLINK-9846] [table] Refactor KafkaTableSourceFactory to KafkaTableSourceSinkFactory commit bfdac8f9a5950c6df882ac44fbd7d5e8358658c2 Author: Timo Walther <twalthr@...> Date: 2018-07-23T04:47:58Z [FLINK-9846] [table] Add a Kafka table sink factory ---- ---