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

   ### 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
   
   I am trying to deploy a S3 connector (as source) using the UI and the UI 
does not render all the required options. I am using the following config file 
to deploy the same connector using the command line and it works fine.
   ```
   # Defining the runtime environment
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     S3File {
       path = "/test/sample.json"
       fs.s3a.endpoint="s3.us-west-2.amazonaws.com"
       fs.s3a.aws.credentials.provider = 
"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
       access_key = "##########"
       secret_key = "#########"
       bucket = "s3a://s3-dashdb"
       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 {}
   }
   ```
    In the screenshot below, you can notice that the UI does not have options 
for `path`, `file_format_type`, `schema`. Can you please help look into this 
issue? Thank you. 
   
   <img width="1466" alt="Screenshot 2023-12-05 at 10 16 44 AM" 
src="https://github.com/apache/seatunnel/assets/151616698/9958de78-28e1-4d8a-982e-6233edf67a9a";>
   
   
   ### SeaTunnel Version
   
   Seatunnel engine: 2.3.3
   Seatunnel web: 1.0.0
   
   ### SeaTunnel Config
   
   ```conf
   # Defining the runtime environment
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     S3File {
       path = "/test/sample.json"
       fs.s3a.endpoint="s3.us-west-2.amazonaws.com"
       fs.s3a.aws.credentials.provider = 
"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
       access_key = "##########"
       secret_key = "#########"
       bucket = "s3a://s3-dashdb"
       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 {}
   }
   ```
   ```
   
   
   ### Running Command
   
   ```shell
   Not running any command, deploying from the UI.
   ```
   
   
   ### Error Exception
   
   ```log
   Not enough options rendered in the UI.
   ```
   
   
   ### 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