You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/23 07:11:00 UTC

[jira] [Commented] (FLINK-9846) Add a Kafka table sink factory

    [ https://issues.apache.org/jira/browse/FLINK-9846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552414#comment-16552414 ] 

ASF GitHub Bot commented on FLINK-9846:
---------------------------------------

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 <tw...@...>
Date:   2018-07-23T06:12:00Z

    [FLINK-9846] [table] Update KafkaTableSink class structure

commit 7328bb2a45070201b14500106af503e6519f1056
Author: Timo Walther <tw...@...>
Date:   2018-07-20T10:35:57Z

    [FLINK-9846] [table] Refactor KafkaTableSourceFactory to KafkaTableSourceSinkFactory

commit bfdac8f9a5950c6df882ac44fbd7d5e8358658c2
Author: Timo Walther <tw...@...>
Date:   2018-07-23T04:47:58Z

    [FLINK-9846] [table] Add a Kafka table sink factory

----


> Add a Kafka table sink factory
> ------------------------------
>
>                 Key: FLINK-9846
>                 URL: https://issues.apache.org/jira/browse/FLINK-9846
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API &amp; SQL
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>
> FLINK-8866 implements a unified way of creating sinks and using the format discovery for searching for formats (FLINK-8858). It is now possible to add a Kafka table sink factory for streaming environment that uses the new interfaces.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)