[jira] [Created] (FLINK-19652) Support pure string format for Kafka table connector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19652) Support pure string format for Kafka table connector

Shang Yuanchun (Jira)
Qingsheng Ren created FLINK-19652:
-------------------------------------

             Summary: Support pure string format for Kafka table connector
                 Key: FLINK-19652
                 URL: https://issues.apache.org/jira/browse/FLINK-19652
             Project: Flink
          Issue Type: New Feature
          Components: Connectors / Kafka, Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.11.2, 1.11.1, 1.11.0
            Reporter: Qingsheng Ren


Currently Kafka table connector supports some formats including CSV, JSON, Avro etc., but there are still cases that users want to deserialize the entire record as a string and parse with UDTF by themselves. 

A hacky way is defining a Kafka source table with only one string column and still using CSV format, but to use a character that will never appear in the message as the field delimiter. Actually it's hard to find such a delimiter if user cannot control the source of data. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)