fs3085 opened a new issue, #4466:
URL: https://github.com/apache/incubator-seatunnel/issues/4466

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   Using the mysqlcdc source to get the mysql data and use the flink engine to 
synchronize it to starRocks and report an error. Looking at the error log, it 
seems to be a class implementation problem.
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 2000
     execution.planner = blink
   }
   source {
     MySQL-CDC {
     debezium {
            snapshot.mode = "never"
            decimal.handling.mode = "double"
        }
       startup.mode = "initial"
       result_table_name = "mysqlcdc"
       server-id = 5656
       username = "BigData_canal"
       password = "TXojS3RaL8pwQqNs"
       table-names = ["finenter.writeoff_source"]
       base-url = "jdbc:mysql://192.168.240.123:8096/finenter"
     }
   }
   sink {
     StarRocks {
       nodeUrls = ["192.168.235.101:8030"]
       base-url = "jdbc:mysql://192.168.235.101:16033"
       username = ads_finenter_rd
       password = "d3673hl1"
       database = "ads_finenter"
       table = "writeoff_source_seatunnel"
       batch_max_rows = 10
       starrocks.config = {
         format = "JSON"
         strip_outer_array = true
       }
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-flink-15-connector-v2.sh --config 
config/example02.conf --deploy-mode run --target yarn-per-job
   ```
   
   
   ### Error Exception
   
   ```log
   (72ca47b062541de96307f1515ce18081) switched from RUNNING to FAILED with 
failure cause: java.lang.UnsupportedOperationException: Flink ParallelSource 
don't support sending SourceEvent. Please implement the `SupportCoordinate` 
marker interface on the SeaTunnel source.
        at 
org.apache.seatunnel.translation.source.ParallelReaderContext.sendSourceEventToEnumerator(ParallelReaderContext.java:61)
        at 
org.apache.seatunnel.connectors.cdc.base.source.reader.IncrementalSourceReader.reportFinishedSnapshotSplitsIfNeed(IncrementalSourceReader.java:148)
        at 
org.apache.seatunnel.connectors.cdc.base.source.reader.IncrementalSourceReader.onSplitFinished(IncrementalSourceReader.java:133)
        at 
org.apache.seatunnel.connectors.seatunnel.common.source.reader.SourceReaderBase.finishCurrentFetch(SourceReaderBase.java:204)
        at 
org.apache.seatunnel.connectors.seatunnel.common.source.reader.SourceReaderBase.moveToNextSplit(SourceReaderBase.java:180)
        at 
org.apache.seatunnel.connectors.seatunnel.common.source.reader.SourceReaderBase.getNextFetch(SourceReaderBase.java:161)
        at 
org.apache.seatunnel.connectors.seatunnel.common.source.reader.SourceReaderBase.pollNext(SourceReaderBase.java:92)
        at 
org.apache.seatunnel.connectors.cdc.base.source.reader.IncrementalSourceReader.pollNext(IncrementalSourceReader.java:92)
        at 
org.apache.seatunnel.connectors.seatunnel.common.source.reader.SourceReaderBase.pollNext(SourceReaderBase.java:112)
        at 
org.apache.seatunnel.connectors.cdc.base.source.reader.IncrementalSourceReader.pollNext(IncrementalSourceReader.java:92)
        at 
org.apache.seatunnel.translation.source.ParallelSource.run(ParallelSource.java:136)
        at 
org.apache.seatunnel.translation.flink.source.BaseSeaTunnelSourceFunction.run(BaseSeaTunnelSourceFunction.java:86)
        at 
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:110)
        at 
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:67)
        at 
org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:332)
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.15.2
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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