You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2018/02/05 10:49:00 UTC

[jira] [Created] (FLINK-8558) Add unified format interfaces and format discovery

Timo Walther created FLINK-8558:
-----------------------------------

             Summary: Add unified format interfaces and format discovery
                 Key: FLINK-8558
                 URL: https://issues.apache.org/jira/browse/FLINK-8558
             Project: Flink
          Issue Type: New Feature
          Components: Streaming Connectors
            Reporter: Timo Walther
            Assignee: Timo Walther


In the last release, we introduced a new module {{flink-formats}}. Currently only {{flink-avro}} is located there but we will add more formats such as {{flink-json}}, {{flink-protobuf}}, and so on. For better separation of concerns we want decouple connectors from formats: e.g., remove {{KafkaAvroTableSource}} and {{KafkaJsonTableSource}}.

A newly introduced {{FormatFactory}} will use Java service loaders to discovery available formats in the classpath (similar to how file systems are discovered now). A {{Format}} will provide a method for converting {{byte[]}} to target record type.



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