public static void init(
            Store taskBasicStore, Store instanceBasicStore,
            Store offsetBasicStore) {
        if (offsetManager == null) {
            synchronized (OffsetManager.class) {
                if (offsetManager == null) {
                    offsetManager = new OffsetManager(taskBasicStore, instanceBasicStore,
                            offsetBasicStore);
                }
            }
        }
    }
task position manager singleton, can only generated by agent manager
inlong-agent/agent-core/src/main/java/org/apache/inlong/agent/core/task/OffsetManager.java