raheen1 commented on issue #5899:
URL: https://github.com/apache/seatunnel/issues/5899#issuecomment-1831439353

   Sure, here is the example config file I used for IBM COS to Console:
   
   ```
   # Defining the runtime environment
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     S3File {
       path = "/sample.json"
       fs.s3a.endpoint="s3.us-west.cloud-object-storage.test.appdomain.cloud"
       fs.s3a.aws.credentials.provider = 
"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
       access_key = "######"
       secret_key = "######"
       bucket = "s3a://apache-seatunnel-test-connector"
       file_format_type = "json"
       schema {
         fields {
           id = int 
           name = string
         }
       }
     }
   }
   
   transform {
     # If you would like to get more information about how to configure 
seatunnel and see full list of transform plugins,
       # please go to https://seatunnel.apache.org/docs/category/transform-v2
   }
   
   sink {
     Console {}
   }
   ```


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