Setting for Kafka Connect

I am trying to set the parameter for Kafka Connect connectors so I can utilize Static Membership for the workers.

I believe this parameter has to be unique at the consumer level.

I know for parameters like, we can just set it in the file:$connectorname # or something

However, where can we set the ? If it is set in the file, can it be made unique at the consumer level?

Or do we need to manually set it in the function where the consumer workers and their IDs are created?

I was thinking it would be good to have it be set to the consumer worker id (something like instance-id123, instance-id321, ... but not sure where to add the logic to do that.

Any updates on this?