Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • /connectors/<connector_name>
  • /connectors/<connector_name>/config
  • /connectors/<connector_name>tasks

There is no new interface.

Proposed Changes

Modification in orgin org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource class. Adding a new method maskCredentials, and this method will be called in each of the above three endpoint before the routing method returns.

Compatibility, Deprecation, and Migration Plan

  • Existing users will no long get the actual password value from Kafka Connect REST endpoint. In stead, they will get a masked value (e.g. "*********").
  • A new deployment of kafka connect is needed

Rejected Alternatives

None identified.