You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh start-seatunnel-spark-3-connector-v2.sh --master local[4] --deploy-mode client --config kafka_hive_streaming.conf
Error Exception
2024-12-31 17:18:37,960 INFO org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaRecordEmitter - jsonValue: {"data":{"name":"2","email":"2","phone":"2","job":"2"}}
2024-12-31 17:18:37,960 INFO org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaRecordEmitter - data: {"name":"2","email":"2","phone":"2","job":"2"}
2024-12-31 17:18:37,960 INFO org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaRecordEmitter - ============================ fetch record ============================
2024-12-31 17:18:37,960 INFO org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaRecordEmitter - jsonValue: {"data":[{"name":"+.Colombia [Organization]","email":"[email protected]","phone":"202-662-9292","job":""}]}
2024-12-31 17:18:37,961 INFO org.apache.seatunnel.connectors.seatunnel.kafka.source.KafkaRecordEmitter - data: {"phone":"202-662-9292","name":"+.Colombia [Organization]","job":"","email":"[email protected]"}
2024-12-31 17:18:37,993 WARN com.zaxxer.hikari.HikariConfig - HikariPool-1 - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.
2024-12-31 17:18:37,993 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2024-12-31 17:18:38,316 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2024-12-31 17:18:38,324 INFO org.apache.seatunnel.connectors.seatunnel.jdbc.internal.executor.FieldNamedPreparedStatement - PrepareStatement sql is:
insert into `test_yyy`.`mysql_0201`(country,capital) values(?,?)
Stuck here and can't write the data.
Question:
![image](https://github.com/user-attachments/assets/b406b336-7872-461d-85a9-e9bc3a89e9a2)
Why not use readStream method?
![image](https://github.com/user-attachments/assets/c7b67b24-92c6-480c-9212-bc3649c2a1e2)
Why is there no place to call this method inject() that returns DataStreamWriter <Row>?
Aiden-Rose
changed the title
[Bug] [connector-kafka] In spark engine streaming mode, kafka source can read data, but cannot write to sink.
[Bug] [connector-kafka] In spark engine streaming mode, kafka source can read data, but cannot write to mysql.
Dec 31, 2024
Search before asking
What happened
In spark engine streaming mode, kafka source can read data, but cannot write to sink.
SeaTunnel Version
2.3.8
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
spark 3.2.2
Java or Scala Version
jdk 1.8
Screenshots
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: