Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3316

Add Connect REST API to list available connector classes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      Each worker process's REST API should have an endpoint that can list available connector classes. This can use the same Reflections code as we used in KAFKA-2422 to find matching connector classes based on a short name. This is useful both for debugging and for any systems that want to work with different connect clusters and be able to tell which clusters support which connectors.

      We may need a new top-level resource to support this. We have /connectors already, but that refers to instantiated connectors that have been named. In contrast, this resource would refer to the connector classes (uninstantiated). We might be able to use the same resource to, e.g., lookup config info in KAFKA-3315 (which occurs before connector instantiation).

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user Ishiihara opened a pull request:

        https://github.com/apache/kafka/pull/1090

        KAFKA-3316: Add REST API for listing connector plugins

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/Ishiihara/kafka kafka-3316

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/kafka/pull/1090.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #1090


        commit 2071b6223532279be05928965112a99782675a20
        Author: Liquan Pei <liquanpei@gmail.com>
        Date: 2016-03-16T22:09:32Z

        add list connector plugins


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user Ishiihara opened a pull request: https://github.com/apache/kafka/pull/1090 KAFKA-3316 : Add REST API for listing connector plugins You can merge this pull request into a Git repository by running: $ git pull https://github.com/Ishiihara/kafka kafka-3316 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1090.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1090 commit 2071b6223532279be05928965112a99782675a20 Author: Liquan Pei <liquanpei@gmail.com> Date: 2016-03-16T22:09:32Z add list connector plugins
        Hide
        ewencp Ewen Cheslack-Postava added a comment -

        Issue resolved by pull request 1090
        https://github.com/apache/kafka/pull/1090

        Show
        ewencp Ewen Cheslack-Postava added a comment - Issue resolved by pull request 1090 https://github.com/apache/kafka/pull/1090
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/kafka/pull/1090

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1090

          People

          • Assignee:
            liquanpei Liquan Pei
            Reporter:
            ewencp Ewen Cheslack-Postava
            Reviewer:
            Gwen Shapira
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development