adobe / experience-platform-streaming-connect

Experience platform Streaming Connectors for Data Ingress
Apache License 2.0
23 stars 20 forks source link

Connector version always reports Kafka Connect version #43

Open gharris1727 opened 1 year ago

gharris1727 commented 1 year ago

Subject of the issue

The connector version is not reported correctly, and is confusing as it does not change when upgrading the connector. It appears to use the AppInfoParser: https://github.com/adobe/experience-platform-streaming-connect/blob/be9b83b708c97a17f105e45263219b7dfe2d128c/streaming-connect-sink/src/main/java/com/adobe/platform/streaming/sink/AbstractSinkConnector.java#L37 which always reports the Apache Kafka version, not the version of the packaged connector.

Steps to reproduce

  1. Download a release artifact (eg 0.0.16)
  2. Download Kafka Connect (eg 3.4.0)
  3. Install the connector on the Kafka Connect plugin path and start the service
  4. Make a request to GET /connector-plugins on the running worker

Expected behaviour

The version reported for the sink connector is 0.0.16, or not provided.

Actual behaviour

The version reported for the sink connector is 3.4.0 (or whatever the connect version happens to be).