Skip to content

Commit c2e7eb2

Browse files
committed
feat: support schemaRegistryType Hortonworks
1 parent ab06ca2 commit c2e7eb2

1 file changed

Lines changed: 28 additions & 6 deletions

File tree

‎connectors/kafka-enhanced-connector/src/main/resources/spec_kafka_enhanced.json‎

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,33 @@
8686
"apiServerKey": "schemaRegisterUrl",
8787
"x-index": 3
8888
},
89+
"schemaRegistryType": {
90+
"type": "string",
91+
"title": "${schemaRegistryType}",
92+
"default": "CONFLUENT",
93+
"x-decorator": "FormItem",
94+
"x-component": "Select",
95+
"apiServerKey": "schemaRegistryType",
96+
"x-index": 5,
97+
"enum": [
98+
{
99+
"label": "CONFLUENT",
100+
"value": "CONFLUENT"
101+
},
102+
{
103+
"label": "HORTONWORKS",
104+
"value": "HORTONWORKS"
105+
}
106+
]
107+
},
89108
"registrySchemaType": {
90109
"type": "string",
91110
"title": "${registrySchemaType}",
92111
"default": "JSON",
93112
"x-decorator": "FormItem",
94113
"x-component": "Select",
95114
"apiServerKey": "registrySchemaType",
96-
"x-index": 4,
115+
"x-index": 6,
97116
"enum": [
98117
{
99118
"label": "JSON",
@@ -126,7 +145,7 @@
126145
}
127146
}
128147
],
129-
"x-index": 5
148+
"x-index": 7
130149
},
131150
"authCredentialsSource": {
132151
"type": "string",
@@ -137,7 +156,7 @@
137156
"x-component-props": {
138157
"optionType": "button"
139158
},
140-
"x-index": 6,
159+
"x-index": 8,
141160
"enum": [
142161
{
143162
"label": "USER_INFO",
@@ -156,7 +175,7 @@
156175
"x-decorator": "FormItem",
157176
"x-component": "Input",
158177
"apiServerKey": "database_username",
159-
"x-index": 7
178+
"x-index": 9
160179
},
161180
"authPassword": {
162181
"required": true,
@@ -165,7 +184,7 @@
165184
"x-decorator": "FormItem",
166185
"x-component": "Password",
167186
"apiServerKey": "database_password",
168-
"x-index": 8
187+
"x-index": 10
169188
},
170189
"schemaMode": {
171190
"type": "string",
@@ -182,7 +201,7 @@
182201
{"label": "${schemaModeFlinkCDC}", "value": "FLINK_CDC"},
183202
{"label": "${schemaModeCustom}", "value": "CUSTOM"}
184203
],
185-
"x-index": 9
204+
"x-index": 12
186205
},
187206
"analyzeScript": {
188207
"type": "string",
@@ -1064,6 +1083,7 @@
10641083
"schemaRegisterTip": "To register a center using third-party mode, an additional address is required. If basic authentication is enabled, authentication information is also required",
10651084
"schemaRegisterUrl": "Schema Registry Url",
10661085
"schemaRegisterUrlTip": "Registry Url with http or https prefix, if bootstrap split with comma, such as: http://localhost:8081,localhost:8082",
1086+
"schemaRegistryType": "Schema Registry Type",
10671087
"registrySchemaType": "Schema Type",
10681088
"authCredentialsSource": "Auth Credentials Source",
10691089
"authUserName": "Auth UserName",
@@ -1155,6 +1175,7 @@
11551175
"schemaRegisterTip": "使用第三方模式注册中心,需要额外提供地址,若打开基本认证还需要提供认证信息等",
11561176
"schemaRegisterUrl": "模式注册地址",
11571177
"schemaRegisterUrlTip": "注册地址,需要 http或https 前缀,如集群地址使用逗号间隔,如:http://localhost:8081,localhost:8082",
1178+
"schemaRegistryType": "模式注册类型",
11581179
"registrySchemaType": "模式类型",
11591180
"authCredentialsSource": "认证凭据来源",
11601181
"authUserName": "认证用户名",
@@ -1246,6 +1267,7 @@
12461267
"schemaRegisterTip": "使用第三方模式註冊中心,需要額外提供地址,若打開基本認證還需要提供認證信息等",
12471268
"schemaRegisterUrl": "模式註冊地址",
12481269
"schemaRegisterUrlTip": "註冊地址,需要 http或https 前綴,如集群地址使用逗號間隔,如:http://localhost:8081,localhost:8082",
1270+
"schemaRegistryType": "模式註冊類型",
12491271
"registrySchemaType": "模式類型",
12501272
"authCredentialsSource": "認證憑據來源",
12511273
"authUserName": "認證用戶名",

0 commit comments

Comments
 (0)