WenDing-Y opened a new issue, #9375:
URL: https://github.com/apache/seatunnel/issues/9375

   ### 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
   
   
   where start_mode is timestamp ,some kafka topic partition offset is -1,
   then job error,the message is 
   `
   java.lang.IllegalArgumentException: seek offset must not be a negative number
   at 
org.apache.kafka.clients.consumer.KafkaConsumer.seek(KafkaConsumer.java:1924)
   `
   
   
   
   ### SeaTunnel Version
   
   2.3.10
   
   ### SeaTunnel Config
   
   ```conf
   # Defining the runtime environment
   env {
     parallelism = 2
     job.mode = "BATCH"
   }
   source {
     Kafka {
       schema = {
         fields {
           name = "string"
           age = "int"
         }
       }
       start_mode = earliest
       topic = "topic_1"
       bootstrap.servers = "localhost:9092"
       
     }  
   }
   sink {
     Console {}
   }
   ```
   
   ### Running Command
   
   ```shell
   none
   ```
   
   ### Error Exception
   
   ```log
   java.lang.IllegalArgumentException: seek offset must not be a negative number
   at 
org.apache.kafka.clients.consumer.KafkaConsumer.seek(KafkaConsumer.java:1924)
   ```
   
   ### Zeta or Flink or Spark Version
   
   flink 
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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