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

   ### 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
   
   报错:
   java.util.concurrent.CompletionException: 
org.apache.seatunnel.engine.common.exception.JobException: 
com.hazelcast.nio.serialization.HazelcastSerializationException: 
java.lang.ClassCastException: cannot assign instance of 
org.apache.pulsar.client.impl.MessageIdImpl to field 
org.apache.seatunnel.connectors.seatunnel.pulsar.source.enumerator.cursor.start.MessageIdStartCursor.messageId
 of type org.apache.pulsar.client.api.MessageId in instance of 
org.apache.seatunnel.connectors.seatunnel.pulsar.source.enumerator.cursor.start.MessageIdStartCursor
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "STREAMING"
     log.level = "DEBUG"
   }
   
   source {
     Pulsar {
       client.service-url = "pulsar://192.168.5.xxx:6650"
       admin.service-url = "http://192.168.5.xxx:8080";
       subscription.name = "seatunnel_subscription"
       topic = "/data/post"
     }
   }
   
   sink {
      Doris {
       fenodes = "192.168.5.xxx:8030"
       query-port = "8030"
       username = "root"
       password = ""
       database = "test"
       table = "test_aggregate"
       sink.label-prefix = "test-cdc"
       sink.enable-2pc = "true"
       sink.enable-delete = "true"
       doris.config {
         format = "json"
         read_json_by_line = "true"
       }
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./seatunnel.sh  --config runConfig.conf
   ```
   
   
   ### Error Exception
   
   ```log
   java.util.concurrent.CompletionException: 
org.apache.seatunnel.engine.common.exception.JobException: 
com.hazelcast.nio.serialization.HazelcastSerializationException: 
java.lang.ClassCastException: cannot assign instance of 
org.apache.pulsar.client.impl.MessageIdImpl to field 
org.apache.seatunnel.connectors.seatunnel.pulsar.source.enumerator.cursor.start.MessageIdStartCursor.messageId
 of type org.apache.pulsar.client.api.MessageId in instance of 
org.apache.seatunnel.connectors.seatunnel.pulsar.source.enumerator.cursor.start.MessageIdStartCursor
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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: commits-unsubscr...@seatunnel.apache.org.apache.org

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

Reply via email to