this.queue4Sink = queue4Sink;
this.batchSize = batchSize == 0 ? 1000 : batchSize;
this.batchTimeout = batchTimeout == 0 ? 1000 : batchTimeout;
this.pauseOnLongQueue = pauseOnLongQueue;
throughput = new Meter(MonitorConfig.builder(sinkId + "_throughput_meter").build());
}