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

   ### 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 use streaming mode sink to s3 file,eg:excel,csv, cannot flush data to 
aim file,data is null
   
   ### SeaTunnel Version
   
   2.3.9
   
   ### SeaTunnel Config
   
   ```conf
   {
     "source": [
       {
         "queue_name": "test_rabbitmq",
         "schema": {
           "fields": {
             "id": "bigint",
             "name": "string"
           }
         },
         "plugin_output": "ot_57d96d4cec5b42f5b86602b404ab3c69",
         "plugin_input": [
           "ot_57d96d4cec5b42f5b86602b404ab3c69"
         ],
         "plugin_name": "RabbitMQ",
         "host": "172.16.**",
         "port": "5672",
         "virtual_host": "my_vhost",
         "username": "admin",
         "password": "admin",
         "durable": true,
         "exclusive": false,
         "auto_delete": false,
         "driver": null
       }
     ],
     "transform": [
     ],
     "sink": [
       {
         "plugin_name": "S3File",
         "file_format_type": "excel",
         "custom_filename": true,
         "file_name_expression": "rabbitmq_s3",
         "is_enable_transaction": false,
         "max_rows_in_memory": 0,
         "data_save_mode": "DROP_DATA",
         "single_file_mode": true,
         "fs.s3a.endpoint": "http://172.16.**:9000";,
         "fs.s3a.aws.credentials.provider": 
"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider",
         "access_key": "Q4LR09FOKQ8KHV9J0SQU",
         "secret_key": "dqmGmXnL8icM+3CcVEfsXmUofZtWhGd8HrxVxP3J",
         "bucket": "s3a://ottomi",
         "path": "/ottomi/1934807593647165442/test/excel",
         "create_empty_file_when_no_data": true,
         "enable_header_write": true,
         "plugin_output": "ot_27c60e9ba53a49e3afb3a216986c60d2",
         "plugin_input": [
           "ot_57d96d4cec5b42f5b86602b404ab3c69"
         ]
       }
     ],
     "env": {
       "parallelism": 1,
       "job.retry.times": 0,
       "job.retry.interval.seconds": 3,
       "job.mode": "streaming",
       "job.name": "rabbitmq到文件",
       "checkpoint.interval": 30000
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh -c demo.json
   ```
   
   ### Error Exception
   
   ```log
   no error,but not data in target file
   ```
   
   ### 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