You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Stanislav Kozlovski (JIRA)" <ji...@apache.org> on 2018/11/12 14:21:00 UTC

[jira] [Created] (KAFKA-7619) Trogdor - Allow filtering tasks by state in /coordinator/tasks endpoint

Stanislav Kozlovski created KAFKA-7619:
------------------------------------------

             Summary: Trogdor - Allow filtering tasks by state in /coordinator/tasks endpoint
                 Key: KAFKA-7619
                 URL: https://issues.apache.org/jira/browse/KAFKA-7619
             Project: Kafka
          Issue Type: Improvement
            Reporter: Stanislav Kozlovski
            Assignee: Stanislav Kozlovski


A Trogdor Coordinator's `/tasks` endpoint returns the status of all tasks. It supports arguments to filter the tasks, like `firstStartMs`, `lastStartMs`, `firstEndMs`, `lastEndMs`.
These arguments denote milliseconds since the unix epoch.

It would be useful to support filtering by the state of the task. We currently have no way of getting every `RUNNING`, `STOPPED`, or `PENDING` task unless we want to manually filter through everything returned by `/coordinator/tasks`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)