dip questions yaml add

This commit is contained in:
ychangkim
2026-06-16 16:37:07 +09:00
parent f4d287abef
commit 6805aa652f
27 changed files with 703 additions and 2 deletions
@@ -0,0 +1,156 @@
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"
@@ -0,0 +1,78 @@
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: "$topicName"
label: Topic
type: multiline
required: true
default: "public.table1\npublic.table2"
- variable: "topicSize"
label: Topic Size
type: enum
required: true
default: ""
options:
- "small"
- "middle"
- "large"
- variable: "$topic.partition"
label: Partition
type: string
required: true
default: "3"
show_if: "topicSize=small"
- variable: "$topic.partition"
label: Partition
type: string
required: true
default: "6"
show_if: "topicSize=middle"
- variable: "$topic.partition"
label: Partition
type: string
required: true
default: "12"
show_if: "topicSize=large"
- variable: "$topic.retention"
label: Retention
type: string
required: true
default: "-1"
show_if: "topicSize=small"
- variable: "$topic.retention"
label: Retention
type: string
required: true
default: "1073741824"
show_if: "topicSize=middle"
- variable: "$topic.retention"
label: Retention
type: string
required: true
default: "3221225472"
show_if: "topicSize=large"
- variable: "$topic.segment"
label: Segment
type: string
required: true
default: "14"
show_if: "topicSize=small"
- variable: "$topic.segment"
label: Segment
type: string
required: true
default: "268435456"
show_if: "topicSize=middle"
- variable: "$topic.segment"
label: Segment
type: string
required: true
default: "805306368"
show_if: "topicSize=large"