use of org.graylog2.shared.events.DeadEventLoggingListener 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;
}
use of org.graylog2.shared.events.DeadEventLoggingListener in project graylog2-server by Graylog2.
the class ClusterEventBusProvider method get.
@Override
public ClusterEventBus get() {
final ClusterEventBus eventBus = new ClusterEventBus("cluster-eventbus", executorService(asyncEventbusProcessors));
eventBus.registerClusterEventSubscriber(new DeadEventLoggingListener());
return eventBus;
}
Aggregations