Best practices for using API-Key between Kafka Connect and Connectors

Hello,

I would like some guidance on the use of API-Keys between Kafka Connect and its respective Connectors. Currently, I have a Kafka Connect that has an API-Key, and my Connector is successfully working using the same API-Key as my Kafka Connect.

That said, these are my questions:

  1. Is it a good practice to use the same API-Key from Kafka Connect in my Connector?
  2. Or would it be safer/recommended for my Connector to have its own API-Key to work with my Kafka Connect?
  3. Is there any official recommendation on this?

Thank you!

1 Like