Properties props = new Properties();
props.put("bootstrap.servers", properties.getBootstrapServer());
props.put("client.id", properties.getClientId());
props.put("acks", properties.getAcks());
props.put("batch.size", properties.getBatchSize());
Properties props = new Properties();
props.put("bootstrap.servers", properties.getBootstrapServer());
props.put("client.id", properties.getClientId());
props.put("acks", properties.getAcks());
props.put("batch.size", properties.getBatchSize());