static Set<String> getConfigValueAsSet(ServiceConfiguration conf, String configProp) {
        String value = getConfigValueAsStringImpl(conf, configProp);
        if (StringUtils.isBlank(value)) {
            log.info("Configuration for [{}] is the empty set.", configProp);
            return Collections.emptySet();
        }
        Set<String> set = Arrays.stream(value.trim().split("\\s*,\\s*")).collect(Collectors.toSet());
        log.info("Configuration for [{}] is [{}].", configProp, String.join(", ", set));
        return set;
    }
@Test
    public void testGetConfigValueAsSetReturnsEmptySetIfBlankString() {
        Properties props = new Properties();
        props.setProperty("prop1", " ");
        ServiceConfiguration config = new ServiceConfiguration();
        config.setProperties(props);
        Set<String> actual = ConfigUtils.getConfigValueAsSet(config, "prop1");
        assertEquals(Collections.emptySet(), actual);
    }