public static interface ClusterBalanceManager.BalanceManagerStatusQueryClientCallback<R>
Modifier and Type | Method and Description |
---|---|
void |
respond(org.apache.kafka.common.requests.ApiError error,
Optional<R> result)
Respond to the client.
|
void respond(org.apache.kafka.common.requests.ApiError error, Optional<R> result)
R
- the type of the returned resulterror
- the error that occurred during the operation, or ApiError.NONE
if no error.result
- the data to be returned to the client, if error is ApiError.NONE