@@ -11,7 +11,7 @@ using OpenAPI;
1111interface ConnectInstancesApi {
1212 @ get
1313 @ operationId ("getConnects" )
14- getConnects (@ path clusterName : string ): Connect [];
14+ getConnects (@ path clusterName : string , @ query withStats : boolean ): Connect [];
1515
1616 @ get
1717 @ route ("/{connectName}/plugins" )
@@ -144,6 +144,13 @@ interface KafkaConnectConnectorsApi {
144144model Connect {
145145 name : string ;
146146 address ? : string ;
147+ connectorsCount ? : int32 | null ;
148+ failedConnectorsCount ? : int32 | null ;
149+ tasksCount ? : int32 | null ;
150+ failedTasksCount ? : int32 | null ;
151+ version ? : string | null ;
152+ commit ? : string | null ;
153+ clusterId ? : string | null ;
147154}
148155
149156model ConnectorConfig is Record <unknown >;
@@ -156,7 +163,7 @@ model TaskId {
156163model TaskStatus {
157164 id : int32 ;
158165 state : ConnectorTaskStatus ;
159- worker_id : string ;
166+ workerId : string ;
160167 trace ? : string ;
161168}
162169
@@ -196,7 +203,7 @@ enum ConnectorState {
196203
197204model ConnectorStatus {
198205 state : ConnectorState ;
199- worker_id ? : string ;
206+ workerId ? : string ;
200207}
201208
202209model Connector {
@@ -213,7 +220,7 @@ enum ConnectorAction {
213220 RESTART_FAILED_TASKS ,
214221 PAUSE ,
215222 RESUME ,
216- STOP ,
223+ STOP
217224}
218225
219226enum TaskAction {
@@ -237,20 +244,20 @@ model ConnectorPluginConfigDefinition {
237244 | "SHORT"
238245 | "STRING" ;
239246 required ? : boolean ;
240- default_value ? : string ;
247+ defaultValue ? : string ;
241248 importance ? : "LOW" | "MEDIUM" | "HIGH" ;
242249 documentation ? : string ;
243250 group ? : string ;
244251 width ? : "SHORT" | "MEDIUM" | "LONG" | "NONE" ;
245- display_name ? : string ;
252+ displayName ? : string ;
246253 dependents ? : string [];
247254 order ? : int32 ;
248255}
249256
250257model ConnectorPluginConfigValue {
251258 name ? : string ;
252259 value ? : string ;
253- recommended_values ? : string [];
260+ recommendedValues ? : string [];
254261 errors ? : string [];
255262 visible ? : boolean ;
256263}
@@ -262,20 +269,20 @@ model ConnectorPluginConfig {
262269
263270model ConnectorPluginConfigValidationResponse {
264271 name ? : string ;
265- error_count ? : int32 ;
272+ errorCount ? : int32 ;
266273 groups ? : string [];
267274 configs ? : ConnectorPluginConfig [];
268275}
269276
270277model FullConnectorInfo {
271278 connect : string ;
272279 name : string ;
273- connector_class ? : string ;
280+ connectorClass ? : string ;
274281 type ? : ConnectorType ;
275282 topics ? : string [];
276283 status : ConnectorStatus ;
277- tasks_count ? : integer ;
278- failed_tasks_count ? : integer ;
284+ tasksCount ? : integer ;
285+ failedTasksCount ? : integer ;
279286}
280287
281288enum ConnectorColumnsToSort {
0 commit comments