Class BrokerTaskByBrokerResource
java.lang.Object
io.confluent.kafkarest.resources.v3.BrokerTaskByBrokerResource
@Path("/v3/clusters/{clusterId}/brokers/{brokerId}/tasks")
public final class BrokerTaskByBrokerResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionBrokerTaskByBrokerResource(jakarta.inject.Provider<BrokerTaskManager> brokerTaskManager, io.confluent.kafkarest.response.CrnFactory crnFactory, io.confluent.kafkarest.response.UrlFactory urlFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBrokerTask(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId, Integer brokerId, BrokerTaskType taskType) voidlistBrokerTasksByBroker(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId, Integer brokerId)
-
Constructor Details
-
BrokerTaskByBrokerResource
@Inject public BrokerTaskByBrokerResource(jakarta.inject.Provider<BrokerTaskManager> brokerTaskManager, io.confluent.kafkarest.response.CrnFactory crnFactory, io.confluent.kafkarest.response.UrlFactory urlFactory)
-
-
Method Details
-
listBrokerTasksByBroker
-
getBrokerTask
@GET @Path("/{taskType}") @Produces("application/json") @PerformanceMetric("v3.brokers.broker-tasks.search-by-type") public void getBrokerTask(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId, @PathParam("brokerId") Integer brokerId, @PathParam("taskType") BrokerTaskType taskType)
-