questions:
- variable: "namespace"
  label: Kafka namespace
  type: hidden
  default: "${$kafka_cluster_namespace}"     
- variable: "$kafka_cluster_namespace"
  label: Kafka Cluster
  type: kafka-cluster
  required: true
  default: ""   
- variable: "postgresql.source"
  label: Postgresql Source
  type: boolean
  default: ""  
- variable: "$database.host"
  label: Database host
  type: string
  required: true
  default: "postgresql-postgresql-ha-postgresql.postgresql.svc.cluster.local"
  show_if: "postgresql.source=true"
- variable: "$database.user"
  label: Database user
  type: string
  required: true
  default: "postgres"
  show_if: "postgresql.source=true"
- variable: "$database.password"
  label: Database password
  type: password
  required: true
  default: ""
  show_if: "postgresql.source=true"
- variable: "$database.db"
  label: Database dbname
  type: string
  required: true
  default: "postgres"
  show_if: "postgresql.source=true"
- variable: "$database.table.include"
  label: Database include table
  type: string
  required: true
  default: "public.table1, public.table2"
  show_if: "postgresql.source=true"
- variable: "$database.slot"
  label: Slot name
  type: string
  required: true
  default: ""
  show_if: "postgresql.source=true"  
- variable: "s3.target"
  label: S3 Sink
  type: boolean
  default: ""  
- variable: "$s3.url"
  label: S3 Url
  type: string
  required: true
  default: "http://minio.minio.svc.cluster.local:9000"
  show_if: "s3.target=true"
- variable: "$s3.accesskey"
  label: S3 AccessKey
  type: string
  required: true
  default: ""
  show_if: "s3.target=true"
- variable: "$s3.secretkey"
  label: S3 SecretKey
  type: password
  required: true
  default: ""
  show_if: "s3.target=true"
- variable: "$s3.bucket"
  label: S3 Bucket
  type: string
  required: true
  default: ""  
  show_if: "s3.target=true"       
- variable: "star.target"
  label: Starrocks Sink
  type: boolean
  default: ""   
- variable: "$star.config.topics"
  label: Topics
  type: string
  required: true
  default: ""  
  show_if: "star.target=true"
- variable: "$star.namespace"
  label: Starrocks Namespace
  type: string
  required: true
  default: ""  
  show_if: "star.target=true"   
- variable: "$star.database.name"
  label: Starrocks Database
  type: string
  required: true
  default: ""  
  show_if: "star.target=true"  
- variable: "$star.username"
  label: Starrocks Username
  type: string
  required: true
  default: ""  
  show_if: "star.target=true"      
- variable: "$star.password"
  label: Starrocks Password
  type: password
  required: true
  default: ""  
  show_if: "star.target=true"  
- variable: "$star.topic2table"
  label: Topic to table
  type: string
  default: ""  
  show_if: "star.target=true"    
- variable: "starjson.target"
  label: Starrocks Sink (Json)
  type: boolean
  default: ""   
- variable: "$starjson.config.topics"
  label: Topics
  type: string
  required: true
  default: ""  
  show_if: "starjson.target=true"
- variable: "$starjson.namespace"
  label: Starrocks Namespace
  type: string
  required: true
  default: ""  
  show_if: "starjson.target=true"   
- variable: "$starjson.database.name"
  label: Starrocks Database
  type: string
  required: true
  default: ""  
  show_if: "starjson.target=true"  
- variable: "$starjson.username"
  label: Starrocks Username
  type: string
  required: true
  default: ""  
  show_if: "starjson.target=true"      
- variable: "$starjson.password"
  label: Starrocks Password
  type: password
  required: true
  default: ""  
  show_if: "starjson.target=true"  
- variable: "$starjson.topic2table"
  label: Topic to table
  type: string
  default: ""  
  show_if: "starjson.target=true"