Complete the code to enable static group membership by setting the group instance ID.
props.put("group.instance.id", [1]);
Setting group.instance.id to a fixed string enables static group membership.
Complete the code to configure the consumer to use static group membership by setting the correct property.
consumerConfig.put([1], "my-static-instance");
group.id with group.instance.idclient.id insteadThe property group.instance.id is used to enable static group membership.
Fix the error in the code to correctly set static group membership in the consumer properties.
props.put("[1]", "static-instance-1");
group.id instead of group.instance.idThe correct property name is group.instance.id to enable static group membership.
Fill both blanks to create a consumer configuration that enables static group membership with a unique instance ID.
consumerProps.put([1], "my-group"); consumerProps.put([2], "instance-123");
client.id instead of group.instance.idSet group.id to identify the group and group.instance.id to enable static membership with a unique ID.
Fill all three blanks to create a Kafka consumer configuration that sets the group ID, static instance ID, and client ID.
props.put([1], "my-group"); props.put([2], "static-instance-01"); props.put([3], "client-01");
client.id when requiredSet group.id for the group, group.instance.id for static membership, and client.id for the client identifier.