public static Store initStore(String childPath) {
        try {
            Constructor<?> constructor =
                    Class.forName(agentConf.get(AgentConstants.AGENT_STORE_CLASSNAME,
                            AgentConstants.DEFAULT_AGENT_STORE_CLASSNAME)).getDeclaredConstructor(String.class);
            constructor.setAccessible(true);
            return (Store) constructor.newInstance(childPath);
        } catch (Exception ex) {
            throw new UnsupportedClassVersionError(ex.getMessage());
        }
    }
init store by class name

@return store
inlong-agent/agent-core/src/main/java/org/apache/inlong/agent/core/task/TaskManager.java