YuriyGavrilov commented on issue #7743:
URL: https://github.com/apache/seatunnel/issues/7743#issuecomment-2375163365

   @wuwu20048 This also working
   
   <img width="416" alt="Снимок экрана 2024-09-25 в 23 12 21" 
src="https://github.com/user-attachments/assets/3451bad4-f28b-41aa-9ffb-2a87c0ec2bb3";>
   
   <img width="1272" alt="Снимок экрана 2024-09-25 в 23 12 47" 
src="https://github.com/user-attachments/assets/2a6eb467-e358-41a9-884d-93259f86a4b0";>
   
   
   ```
   env {
     # You can set SeaTunnel environment configuration here
     parallelism = 2
     job.mode = "STREAMING"
     checkpoint.interval = 2000
   }
   
   source {
     # This is a example source plugin **only for test and demonstrate the 
feature source plugin**
     FakeSource {
       parallelism = 2
       result_table_name = "fake"
       row.num = 16
       schema = {
         fields {
           id = "int"
           name = "string"
           out = "string"
         }
       }
     }
   
     # If you would like to get more information about how to configure 
SeaTunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/connector-v2/source
   }
   
   
        
   
   #transform {
   
   #}
   
   sink {
   
   Clickhouse {
             host = "some-clickhouse-server:8123"
             database = "default"
             table = "sink_table"
             username = ""
             password = ""
             bulk_size = 1000
          #  source_table_name = "gateway_logs"
             clickhouse.config = {
                   max_rows_to_read = "100"
                   read_overflow_mode = "throw"
                 }
           }
   
   
   }
   
   
   
     
     
   
   ```
   


-- 
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