private void process(final ShareSubscriptionChangeEvent ignored) {
        if (!requestManagers.shareHeartbeatRequestManager.isPresent()) {
            log.warn("Group membership manager not present when processing a subscribe event");
            return;
        }
        ShareMembershipManager membershipManager = requestManagers.shareHeartbeatRequestManager.get().membershipManager();
        membershipManager.onSubscriptionUpdated();
    }
Process event that indicates that the subscription changed for a share group. This will make the
consumer join the share group if it is not part of it yet, or send the updated subscription if
it is already a member.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/ApplicationEventProcessor.java