use of com.google.common.eventbus.AsyncEventBus in project graylog2-server by Graylog2.
the class EventBusProvider method get.
@Override
public EventBus get() {
final EventBus eventBus = new AsyncEventBus("graylog-eventbus", executorService(configuration.getAsyncEventbusProcessors()));
eventBus.register(new DeadEventLoggingListener());
return eventBus;
}
Aggregations