# Setting group.instance.id for Kafka Connect

**URL:** <https://forum.confluent.io/t/setting-group-instance-id-for-kafka-connect/10609>\
**Category:** Kafka Connect\
**Created:** [3 May 2024 04:53 UTC](https://forum.confluent.io/t/setting-group-instance-id-for-kafka-connect/10609 "2024-05-03T04:53:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlameDra](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@FlameDra](https://forum.confluent.io/u/FlameDra)\
**Post date:** [3 May 2024 04:53 UTC](https://forum.confluent.io/t/setting-group-instance-id-for-kafka-connect/10609/1 "2024-05-03T04:53:08Z")

</div>

I am trying to set the `group.instance.id` 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 `group.id`, we can just set it in the `worker.properties` file:

```auto
group.id=connect-$connectorname # or something

```

However, where can we set the `group.instance.id` ? If it is set in the `worker.properties` 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.

---

<div class="post-metadata">

**Author:** ![FlameDra](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@FlameDra](https://forum.confluent.io/u/FlameDra)\
**Post date:** [6 May 2024 20:06 UTC](https://forum.confluent.io/t/setting-group-instance-id-for-kafka-connect/10609/2 "2024-05-06T20:06:49Z")

</div>

Any updates on this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [5 June 2024 20:07 UTC](https://forum.confluent.io/t/setting-group-instance-id-for-kafka-connect/10609/3 "2024-06-05T20:07:50Z")

</div>

Closed on 5 June 2024 20:07 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
