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

   ### 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
   
   when I start my seatunnel task, then the task receives messages. The task 
will consume from offset=0 of topic.
   
   
   
   
   ### SeaTunnel Version
   
   2.3.12
   
   ### SeaTunnel Config
   
   ```conf
   env {
     job.mode = "${job_mode}"
     parallelism = 1
     job.name = "track_report"
   }
   
   source {
     Rocketmq {
       name.srv.addr = "${rocket_address}"
       topics = "b2c_front_track_report"
       start.mode = "CONSUME_FROM_GROUP_OFFSETS"
       batch.size = "400"
       commit.on.checkpoint="${checkpoint}"
       partition.discovery.interval.millis = "1000"
       consumer.group = "track_report_group"
       format = "json"
       format = json
       plugin_output = "source_track_report_data"
       schema = {
         fields {
           tenantCode = string
           siteId = string
         }
       }
     }
   }
   
   transform {
     FieldMapper {
       plugin_input = "source_track_report_data"
       plugin_output = "target_track_report_table"
       field_mapper = {
         tenantCode = tenant_code
         siteId = site_id
       }
     }
   }
   
   sink {
     Jdbc {
       plugin_input = "target_track_report_table"
       url = "jdbc:mysql://${target_doris_address}"
       driver = "com.mysql.cj.jdbc.Driver"
       connection_check_timeout_sec = 100
       user = "${target_doris_username}"
       password = "${target_doris_password:}"
       database = "b2c_bdm"
       table = "track_report"
       generate_sink_sql = true
       enable_upsert = false
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   sh /opt/seatunnel/bin/seatunnel.sh  --config 
/export/servers/app/dp/task/bdm/sync_track_report.conf -i job_mode=Streaming -i 
rocket_address=rocketmq-nameserver:9876 -i checkpoint=true -i 
target_doris_address=doriscluster-fe-service:9030 -i target_doris_username=root 
-i target_doris_password=
   
   or 
   
   sh /opt/seatunnel/bin/seatunnel.sh  --config 
/export/servers/app/dp/task/bdm/sync_track_report.conf -i job_mode=Streaming -i 
rocket_address=rocketmq-nameserver:9876 -i checkpoint=false -i 
target_doris_address=doriscluster-fe-service:9030 -i target_doris_username=root 
-i target_doris_password=
   ```
   
   ### Error Exception
   
   ```log
   no exception
   ```
   
   ### 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: [email protected]

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

Reply via email to