private final ExecutorService executor;
private final String id;
private final String topic;
- private final String acks;
private final int throttleMs;
private final KafkaProducer<String, String> producer;
this.executor = executor;
this.id = clientId;
this.topic = topic;
- this.acks = acks;
this.throttleMs = throttleMs;
Properties props = new Properties();