Interface KafkaResponse
- All Superinterfaces:
BaseResponse,NativeResponse
Represents a response that can manipulate a Kafka native response.
- Author:
- Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescription<T extends org.apache.kafka.common.requests.AbstractResponse>
Tdelegate()Access the underlying native Kafka response.voidRegister that the response has been updated during its processing and need to be rebuilt before sending it.
-
Method Details
-
delegate
<T extends org.apache.kafka.common.requests.AbstractResponse> T delegate()Access the underlying native Kafka response.- Returns:
- the Kafka native response.
-
notifyChange
void notifyChange()Register that the response has been updated during its processing and need to be rebuilt before sending it.
-