Skip to content

Commit

Permalink
use the proper return type for the client interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Dugong42 committed Jan 3, 2025
1 parent 77b5a70 commit c954409
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,20 +267,26 @@ public Mono<ResponseEntity<Void>> restartConnectorTaskWithHttpInfo(String connec
}

@Override
public Mono<Void> resumeConnector(String connectorName) throws WebClientResponseException {
return withRetryOnRebalance(super.resumeConnector(connectorName));
public Mono<Void> resetConnectorOffsets(String connectorName)
throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.resetConnectorOffsets(connectorName));
}

@Override
public Mono<ResponseEntity<Void>> resumeConnectorWithHttpInfo(String connectorName)
public Mono<ResponseEntity<Void>> resetConnectorOffsetsWithHttpInfo(String connectorName)
throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.resumeConnectorWithHttpInfo(connectorName));
return withRetryOnConflictOrRebalance(super.resetConnectorOffsetsWithHttpInfo(connectorName));
}

@Override
public Mono<Void> resumeConnector(String connectorName) throws WebClientResponseException {
return withRetryOnRebalance(super.resumeConnector(connectorName));
}

@Override
public Mono<ResponseEntity<Void>> resetConnectorOffsets(String connectorName)
public Mono<ResponseEntity<Void>> resumeConnectorWithHttpInfo(String connectorName)
throws WebClientResponseException {
return withRetryOnConflictOrRebalance(super.resetConnectorOffsets(connectorName));
return withRetryOnConflictOrRebalance(super.resumeConnectorWithHttpInfo(connectorName));
}

@Override
Expand Down

0 comments on commit c954409

Please sign in to comment.