public static Future<?> runInThread(String groupId, final Runnable runnable) {
        return GROUP_THREAD_POOLS.getOrDefault(groupId, GlobalThreadPoolHolder.INSTANCE).submit(runnable);
    }
Run a task in thread pool,returns the future object.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/ThreadPoolsFactory.java