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

   ### 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
   
   Seatunnel is consuming Kafka data repeatedly to Doris, and the actual data 
is only around 19,000 records. However, there are over 50,000 records in 
result. The Seatunnel log shows that it consumes only around 19,000 records
   
   ### SeaTunnel Version
   
   seatunnel 2.3.2
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "STREAMING"
   }
   
   source {
   
     Kafka {
           result_table_name = "test"
       schema = {
   
    fields {
   
     "UserEmail"= "string",
     "StaffId"= "string",
     "CardNumber"= "string",
     "PunchCardDate"= "string",
     "SwipingCardDateTime"= "string",
     "PunchCardTime"= "string",
     "CheckinType"= "string",
     "LocationDetail"= "string",
     "DataSource"= "string",
     "SwipingCardType"= "string",
     "LocationTitle"= "string",
     "WifiName"= "string",
     "Notes"= "string",
     "FacilityIdentify"= "string",
     "SigninRegion"= "string",
     "WgsCoordate"= "string",
     "SigninResult"= "string",
     "WifiMacAddress"= "string",
     "IsWifiSignin"= "string",
     "ClockType"= "string",
     "Lat"= "string",
     "Lng"= "string",
     "CoordinateSystem"= "string",
     "CreatedTime"= "string",
     "ModifiedTime"= "string"
   
   }
   
   }
   #format="json"
       #field_delimiter = ","
       topic = ${record-topic}
       bootstrap.servers = "hadoop101:9092"
       consumer.group = "seatunnel_group"
       #start_mode="earliest"
       #commit_on_checkpoint=true
       kafka.config = {
         client.id = "client_1"
         #max.poll.records = "1000000"
         #auto.offset.reset = "earliest"
        # enable.auto.commit = "false"
       }
     }
   
   }
   transform {
   sql {
           source_table_name="test"
           result_table_name = "test2"
           query = "select StaffId,CreatedTime,ModifiedTime, UserEmail 
,CardNumber ,PunchCardDate,SwipingCardDateTime ,PunchCardTime ,CheckinType 
,LocationDetail ,DataSource ,SwipingCardType ,LocationTitle ,WifiName ,Notes 
,FacilityIdentify,SigninRegion ,WgsCoordate ,SigninResult,WifiMacAddress 
,IsWifiSignin,ClockType ,Lat ,Lng ,CoordinateSystem from test"
           }
   }
   sink {
   
   Doris {
    source_table_name = "test2"
     fenodes="192.168.10.102:8030"
      table.identifier = "demo.ods_records"
      username="root"
      password="mu123456"
      sink.label-prefix = "test_111"
   #doris.column_separator="\t"
   #doris.columns="StaffId,CreatedTime,ModifiedTime, UserEmail ,CardNumber 
,PunchCardDate,SwipingCardDateTime ,PunchCardTime ,CheckinType ,LocationDetail 
,DataSource ,SwipingCardType ,LocationTitle ,WifiName ,Notes 
,FacilityIdentify,SigninRegion ,WgsCoordate ,SigninResult,WifiMacAddress 
,IsWifiSignin,ClockType ,Lat ,Lng ,CoordinateSystem"
   doris.config = {
               format="json"
               read_json_by_line="true"
           }
   }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ${SEATUNNEL_HOME}/bin/seatunnel.sh --config 
/tmp/dolphinscheduler/exec/process/default/12737405659360/12737433663200_1/17/71/seatunnel_17_71.conf
 --deploy-mode cluster
   ```
   
   
   ### Error Exception
   
   ```log
   noting
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   
![image](https://github.com/apache/seatunnel/assets/105072171/16df8741-8c1e-4511-a0e5-2f5fc85056dd)
   
![image](https://github.com/apache/seatunnel/assets/105072171/c6ff2b73-9fc7-4b91-873c-3e233ba05fab)
   
   
   ### 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