void handle(
R response,
RequestFuture<T> future)
CoordinatorResponseHandler Contract
CoordinatorResponseHandler is the extension of the RequestFutureAdapter contract for type converters that handle ClientResponses.
| Method | Description |
|---|---|
|
Handles a successful response from a group coordinator Used exclusively when |
| CoordinatorResponseHandler | Description |
|---|---|
Handles JoinGroupResponses |
|
LeaveGroupResponseHandler |
|
OffsetFetchResponseHandler |
|
onFailure Method
void onFailure(RuntimeException e, RequestFuture<T> future)
|
Note
|
onFailure is part of the RequestFutureAdapter Contract to perform a type conversion when a RequestFuture completes with a failure.
|
onFailure…FIXME
onSuccess Method
void onSuccess(ClientResponse clientResponse, RequestFuture<T> future)
|
Note
|
onSuccess is part of the RequestFutureAdapter Contract to perform a type conversion when a RequestFuture completes with a success.
|
onSuccess…FIXME