use of org.graylog2.grok.InMemoryGrokPatternService in project graylog2-server by Graylog2.
the class InMemoryGrokPatternServiceTest method setup.
@Before
@SuppressForbidden("Using Executors.newSingleThreadExecutor() is okay in tests")
public void setup() {
final ClusterEventBus clusterEventBus = new ClusterEventBus("cluster-event-bus", Executors.newSingleThreadExecutor());
service = new InMemoryGrokPatternService(clusterEventBus);
}
Aggregations