@Override
    public Set<GrokPattern> bulkLoad(Collection<String> patternIds) {
        return patternIds.stream()
                .map(store::get)
                .filter(Objects::nonNull)
                .collect(Collectors.toSet());
    }
@Test
    public void bulkLoad() throws Exception {
        GrokPattern pattern1 = service.save(GrokPattern.create("NAME1", ".*"));
        GrokPattern pattern2 = service.save(GrokPattern.create("NAME2", ".*"));
        GrokPattern pattern3 = service.save(GrokPattern.create("NAME3", ".*"));

        assertThat(service.bulkLoad(ImmutableSet.of(pattern1.id(), pattern3.id()))).containsExactlyInAnyOrder(pattern1, pattern3);
    }