batchSplitter = new BatchSplitter(
new ThreadPoolBuilder().withName("Metric batching").build(),
BATCH_SIZE
).withLogger(log);
batchWriter = new BatchWriter(
new ThreadPoolBuilder()
.withName("Metric Batch Writing")
.withCorePoolSize(WRITE_THREADS)
.withMaxPoolSize(WRITE_THREADS)
.withUnboundedQueue()