diff --git a/api/src/main/java/io/kafbat/ui/client/RetryingKafkaConnectClient.java b/api/src/main/java/io/kafbat/ui/client/RetryingKafkaConnectClient.java index 35fb5d505..df2da3e55 100644 --- a/api/src/main/java/io/kafbat/ui/client/RetryingKafkaConnectClient.java +++ b/api/src/main/java/io/kafbat/ui/client/RetryingKafkaConnectClient.java @@ -233,14 +233,19 @@ public Mono pauseConnector(String connectorName) throws WebClientResponseE return withRetryOnConflictOrRebalance(super.pauseConnector(connectorName)); } + @Override + public Mono> pauseConnectorWithHttpInfo(String connectorName) throws WebClientResponseException { + return withRetryOnConflictOrRebalance(super.pauseConnectorWithHttpInfo(connectorName)); + } + @Override public Mono stopConnector(String connectorName) throws WebClientResponseException { - return withRetryOnConflict(super.stopConnector(connectorName)); + return withRetryOnConflictOrRebalance(super.stopConnector(connectorName)); } @Override - public Mono> pauseConnectorWithHttpInfo(String connectorName) throws WebClientResponseException { - return withRetryOnConflictOrRebalance(super.pauseConnectorWithHttpInfo(connectorName)); + public Mono> stopConnectorWithHttpInfo(String connectorName) throws WebClientResponseException { + return withRetryOnConflictOrRebalance(super.stopConnectorWithHttpInfo(connectorName)); } @Override