Interface AbstractFetch.ResponseHandler<T>
- Type Parameters:
T- Type of response, usually eitherClientResponseorThrowable
- Enclosing class:
AbstractFetch
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines the contract for handling fetch responses from brokers.
-
Method Summary
-
Method Details
-
handle
void handle(org.apache.kafka.common.Node target, org.apache.kafka.clients.FetchSessionHandler.FetchRequestData data, T response) Handle the response from the giventarget
-