@Override
    public AbstractResponse getErrorResponse(int throttleTimeMs, Throwable e) {
        return new ShareGroupHeartbeatResponse(
                new ShareGroupHeartbeatResponseData()
                        .setThrottleTimeMs(throttleTimeMs)
                        .setErrorCode(Errors.forException(e).code())
        );
    }
A member epoch of <code>0</code> means that the member wants to join the group.
clients/src/main/java/org/apache/kafka/common/requests/ShareGroupHeartbeatRequest.java