Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.63 KB

kafka-clients-RequestCompletionHandler.adoc

File metadata and controls

48 lines (33 loc) · 1.63 KB

RequestCompletionHandler Contract

RequestCompletionHandler is the contract of request completion handlers that are executed when a request is complete, i.e. the corresponding response has been received or there was a disconnection while handling the request.

Table 1. RequestCompletionHandler Contract
Method Description

onComplete

void onComplete(ClientResponse response)

Action to be executed when a request is complete

Used when:

Table 2. RequestCompletionHandlers (Direct Implementations)
RequestCompletionHandler Description

RequestFutureCompletionHandler

TransactionMarkerRequestCompletionHandler

TxnRequestHandler