- <init>
- initiateClose
Start closing the sender (won't actually complete until all data is sent out)
- run
Run a single iteration of sending
- addToInflightBatches
- canRetry
We can retry a send if the error is transient and the number of attempts taken
is fewer than the max
- completeBatch
Complete or retry the given batch of records.
- throttleTimeSensor
- wakeup
Wake up the selector associated with this send thread
- awaitLeastLoadedNodeReady
- createProduceRequests
Transfer the record batches into a list of produce requests on a per-node basis
- failBatch
- forceClose
Closes the sender without sending out any pending messages.