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

   ### 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
   
   生产的Clickhouse集群超过30台机器,但实际只分发了其中8台,进行了本地测试,发现获取分发shard的代码没有按预期执行
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set SeaTunnel environment configuration here
     parallelism = 1
     job.mode = "BATCH"
     checkpoint.interval = 10000
     spark.executor.instances = 1
     spark.executor.cores = 1
     spark.executor.memory = "1g"
     spark.master = local
     job.name = "SeaTunnel"
   }
   
   source {
       FakeSource {
           row.num = 1
           parallelism = 1
           schema = {
             fields {
               event_name = string
             }
           }
           result_table_name = "fake"
       }
   }
   
   sink {
     Clickhouse {
       host = "xxx.xxx.xxx.xxx:8123"
       database = "db"
       table = "table"
       username = "superNova"
       password = "********"
       bulk_size = 10000
       clickhouse.socket_timeout = 50000
       split_mode = true
       sharding_key = "event_name"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel-spark-connector-v2-example
   SeaTunnelApiExample class
   ```
   
   
   ### Error Exception
   
   ```log
   no exception
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   spark
   
   ### Java or Scala Version
   
   java 1.8
   scala 2.11.12
   
   ### 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