private final List<String> topics;
private final Async remoteEndpoint;
public KafkaConsumer(Properties configProps, final ExecutorService executorService, final Transform transform, final String topics, final Session session) {
this.remoteEndpoint = session.getAsyncRemote();
this.consumerConfig = new ConsumerConfig(configProps);
this.executorService = executorService;
this.topics = Arrays.asList(topics.split(","));
this.transform = transform;
this.session = session;
}