Class ReplicationFactorChangeResource

java.lang.Object
io.confluent.kafkarest.resources.v3.ReplicationFactorChangeResource

@Path("/v3/clusters/{clusterId}/topics/-") public final class ReplicationFactorChangeResource extends Object
The three replication factor change endpoints, all acting on the same topic-level resource:
  • PATCH .../topics/-/replication-factor-changes submits a change,
  • PATCH .../topics/-/replication-factor-changes:cancel cancels one,
  • GET .../topics/-/replication-factor-changes lists the tracked changes.
  • Constructor Details

    • ReplicationFactorChangeResource

      @Inject public ReplicationFactorChangeResource(jakarta.inject.Provider<ReplicationFactorChangeManager> replicationFactorChangeManager, io.confluent.kafkarest.response.CrnFactory crnFactory, io.confluent.kafkarest.response.UrlFactory urlFactory)
  • Method Details

    • changeReplicationFactor

      @PATCH @Path("/replication-factor-changes") @Produces("application/json") @Consumes("application/json") @PerformanceMetric("v3.topics.replication-factor-changes.change") public void changeReplicationFactor(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId, @Valid @Valid ChangeReplicationFactorRequest request)
    • cancelReplicationFactorChange

      @PATCH @Path("/replication-factor-changes:cancel") @Produces("application/json") @Consumes("application/json") @PerformanceMetric("v3.topics.replication-factor-changes.cancel") public void cancelReplicationFactorChange(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId, @Valid @Valid CancelReplicationFactorChangeRequest request)
    • listReplicationFactorChanges

      @GET @Path("/replication-factor-changes") @Produces("application/json") @PerformanceMetric("v3.topics.replication-factor-changes.list") public void listReplicationFactorChanges(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId)