@Override
    public Properties getConfig(RedisClusterNode node, String pattern) {
        RedisClient entry = getEntry(node);
        RFuture<List<String>> f = executorService.writeAsync(entry, StringCodec.INSTANCE, RedisCommands.CONFIG_GET, pattern);
        List<String> r = syncFuture(f);
        if (r != null) {
            return Converters.toProperties(r);
        }
        return null;
    }
@Test
    public void testGetConfig() {
        testInCluster(connection -> {
            RedisClusterNode master = getFirstMaster(connection);
            Properties config = connection.getConfig(master, "*");
            assertThat(config.size()).isGreaterThan(20);
        });
    }