...
Code Block | ||
---|---|---|
| ||
public static MembershipChangeResult removeMemberFromGroupremoveMemberFromConsumerGroup(String groupId, list<String> groupInstanceIdsToRemove, RemoveMemberFromGroupOptionsRemoveMemberFromConsumerGroupOptions options); |
And a separate option class:
Code Block | ||
---|---|---|
| ||
public class RemoveMemberFromGroupOptions extends AbstractOptions<RemoveMemberFromGroupOptions> { ... private List<MemberIdentity> members; // members to be removed } |
which will use the latest LeaveGroupRequest API to inform broker the permanent leaving of a bunch of consumer instances.
...