Interface ConsumerListener<T>
- Type Parameters:
T
- the type of the value in the consumer records being handled
public interface ConsumerListener<T>
Interface for classes that handle the records polled by a kafka
Consumer
.- Author:
- Joey Jackson (jjackson at dropbox dot com)
-
Method Summary
-
Method Details
-
handle
Handles a consumer record from the consumer.- Parameters:
record
- the consumer record to be handled
-
handle
Handles a throwable from the consumer.- Parameters:
throwable
- the throwable to be handled
-