public class KafkaMessageCallback extends Object implements KafkaConsumer.MessageCallback
| Constructor and Description |
|---|
KafkaMessageCallback(CountDownLatch stopLatch,
Set<KafkaLogProcessor> kafkaLogProcessors,
MetricsContext metricsContext) |
public KafkaMessageCallback(CountDownLatch stopLatch, Set<KafkaLogProcessor> kafkaLogProcessors, MetricsContext metricsContext) throws Exception
Exceptionpublic void onReceived(Iterator<FetchedMessage> messages)
onReceived in interface KafkaConsumer.MessageCallbackpublic void finished()
finished in interface KafkaConsumer.MessageCallbackCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.