Search in sources :

Example 1 with ChunkedBulkIndexer

use of org.graylog2.indexer.messages.ChunkedBulkIndexer in project graylog2-server by Graylog2.

the class MessagesAdapterES6Test method setUp.

@BeforeEach
void setUp() {
    this.jestClient = mock(JestClient.class);
    final MetricRegistry metricRegistry = mock(MetricRegistry.class);
    this.messagesAdapter = new MessagesAdapterES6(jestClient, true, metricRegistry, new ChunkedBulkIndexer(), objectMapper);
}
Also used : MetricRegistry(com.codahale.metrics.MetricRegistry) JestClient(io.searchbox.client.JestClient) ChunkedBulkIndexer(org.graylog2.indexer.messages.ChunkedBulkIndexer) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

MetricRegistry (com.codahale.metrics.MetricRegistry)1 JestClient (io.searchbox.client.JestClient)1 ChunkedBulkIndexer (org.graylog2.indexer.messages.ChunkedBulkIndexer)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1