zhuzhilin123 opened a new issue, #5657:
URL: https://github.com/apache/seatunnel/issues/5657

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   kafka is the source configuration, does it support json format? I configured 
the json format for consumers not to consume, the initial format is OK.
   
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   {
        "env": {
                "execution.parallelism": 1,
                "job.mode": "STREAMING"
        },
        "source": [
                {
                        "consumer.group": "xxxx",
                        "schema": {
                                "fields": {
                                        "xxxx": "String",
                                        "xxxx": "string",
                                        "xxxxx": "int",
                                        "xxxxx": "string",
                                        "xxxxx": "string"
                                }
                        },
                        "topic": "xxxxxx",
                        "bootstrap.servers": "xxx.xxx.xxx.xxxx:9092"
                }
        ],
        "transform": [],
        "sink": [
                {
                        "password": "MyNewPass4!",
                        "driver": "com.mysql.cj.jdbc.Driver",
                        "query": "INSERT INTO `xxxxxxx`(x,xx,xxx,xxxx,xxxxx) 
VALUES(?,?,?,?,?)",
                        "plugin_name": "jdbc",
                        "user": "root",
                        "url": "jdbc:mysql://xxx.xxx.xxx.xxxx:3306/xxxxxxx"
                }
        ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./jsonfile/kafkaTest.json --cluster xodb 123 456
   ```
   
   
   ### Error Exception
   
   ```log
   Do not create consumers
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   jdk 1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to