You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/08/07 15:48:46 UTC

[GitHub] [incubator-seatunnel] hailin0 commented on issue #2371: [Feature][seatunnel-connectors-v2][connector-kafka] Kafka supports custom schema

hailin0 commented on issue #2371:
URL: https://github.com/apache/incubator-seatunnel/issues/2371#issuecomment-1207435224

   I want to discuss how to define fields schema configuration for connector in seatunnel
   
   I see use case from flink:
   `create table x (
   field1 bigint,
   field2 string,
   ......
   ) with (
   format: 'xxx'
   )`
   
   Connector selectd `xxx` format factory to convert message data format to  `row[fleid1<bigint>,field2<string>]`.
   
   
   How should it be defined in seatunnel?
   e.g:
   `
   source {
     KafkaSource {
        format = xxx
        format_schema = [{"name": "field1", "data_type": "bigint"}  , {"name": "field2", "data_type": "string"}]
      }
   }
   `


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org