Browse Source

MINOR: Update OpenAPI summary documentation for Connect's /tasks endpoint (#14267)

Reviewers: Mickael Maison <mickael.maison@gmail.com>
pull/14278/head
Yash Mayya 1 year ago committed by GitHub
parent
commit
064a14795c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorsResource.java

2
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/resources/ConnectorsResource.java

@ -301,7 +301,7 @@ public class ConnectorsResource implements ConnectResource { @@ -301,7 +301,7 @@ public class ConnectorsResource implements ConnectResource {
@GET
@Path("/{connector}/tasks")
@Operation(summary = "List all tasks for the specified connector")
@Operation(summary = "List all tasks and their configurations for the specified connector")
public List<TaskInfo> getTaskConfigs(final @PathParam("connector") String connector) throws Throwable {
FutureCallback<List<TaskInfo>> cb = new FutureCallback<>();
herder.taskConfigs(connector, cb);

Loading…
Cancel
Save