Class BrokerTaskResource
java.lang.Object
io.confluent.kafkarest.resources.v3.BrokerTaskResource
@Path("/v3/clusters/{clusterId}/brokers/-/tasks")
public final class BrokerTaskResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionBrokerTaskResource(jakarta.inject.Provider<BrokerTaskManager> taskBrokerManager, io.confluent.kafkarest.response.CrnFactory crnFactory, io.confluent.kafkarest.response.UrlFactory urlFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidlistBrokerTasks(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId) voidlistBrokerTasksByTaskType(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId, BrokerTaskType taskType)
-
Constructor Details
-
BrokerTaskResource
@Inject public BrokerTaskResource(jakarta.inject.Provider<BrokerTaskManager> taskBrokerManager, io.confluent.kafkarest.response.CrnFactory crnFactory, io.confluent.kafkarest.response.UrlFactory urlFactory)
-
-
Method Details
-
listBrokerTasks
@GET @Produces("application/json") @PerformanceMetric("v3.broker-tasks.list") public void listBrokerTasks(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId) -
listBrokerTasksByTaskType
@GET @Path("/{taskType}") @Produces("application/json") @PerformanceMetric("v3.broker-tasks.search-by-type") public void listBrokerTasksByTaskType(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId, @PathParam("taskType") BrokerTaskType taskType)
-