Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connector type checker #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sshplendid
Copy link

@sshplendid sshplendid commented Dec 14, 2021

I'm using Kafka connect with 2.8.0 version and found that the connect topology visualization and the connector count on dashboard is something wrong.

  • I'm using both source and sink connectors, however, the dashboard shows only sink connectors' count.

The connector type can be recognized by $.type field Since Confluent Kafka 6.2.1
This resolves the Connect topology visualization and connectors' count on the dashboard at cluster home page

https://docs.confluent.io/platform/6.2.1/connect/references/restapi.html#connectors

request

GET /connectors/{{connector-name}} HTTP/1.1
Content-Type: application/json

response

{
    "name": "connector-name",
    "config": {    },
    "tasks": [    ],
    "type": "source" // here
}
  • wrong (current)

스크린샷 2021-12-14 오후 2 11 05

  • good (after applying this pr)

스크린샷 2021-12-14 오후 2 11 26

The connector type can be recognized by `$.type` field Since Kafka 6.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants