kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Add filters on kafka connect config to kafka connect component

Open sappusaketh opened this issue 1 year ago • 0 comments

Issue submitter TODO list

  • [X] I've searched for an already existing issues here
  • [X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

At present there is no way to filter things on kafka connect config. It would be nice to have multiple filters where one could select type of connector and other could be used to filter connector config

example: I want to filter all postgres source connectors with avro key/value converter?

Describe the feature you're interested in

I m interested to see if we can apply multiple filters on kafka connector config in conjunction with one another

Describe alternatives you've considered

At present I m using connect api to fetch all my connectors and apply jq filters

 curl -X GET  https://<redacted>/connectors | jq -r '.[]' | while read -r connector; do
  curl -s -X GET "https://<redacted>/connectors/${connector}/config" |   jq -r '. | select(.["connector.class"] == "io.debezium.connector.postgresql.PostgresConnector" and .["key.converter"] == "org.apache.kafka.connect.json.JsonConverter") | .name'
 done

Version you're running

2956664 v1.0.0

Additional context

Here is how I do it sometimes

sappusaketh avatar Mar 22 '24 18:03 sappusaketh