private long getAndResetTmpOffset(final String group, final String offsetCacheKey) {
        return setTmpOffset(group, offsetCacheKey, 0L);
    }
Set temp offset.

@param group               the consume group name
@param offsetCacheKey      the offset store key
@param origOffset          the set value
@return                    the current inflight offset
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/offset/DefaultOffsetManager.java