Polish doc

This commit is contained in:
Johnny Lim
2019-01-17 23:27:39 +09:00
committed by Gary Russell
parent 9a73a4a202
commit bda5d99717

View File

@@ -157,7 +157,7 @@ private KafkaProducerMessageHandlerSpec<Integer, String, ?> kafkaMessageHandler(
}
----
If a `send-failure-channel` (`sendFailureChannel`) is provided, if a send failure is received (sync or async), an `ErrorMessage` is sent to the channel.
If a `send-failure-channel` (`sendFailureChannel`) is provided and a send failure is received (sync or async), an `ErrorMessage` is sent to the channel.
The payload is a `KafkaSendFailureException` with properties `failedMessage`, `record` (the `ProducerRecord`) and `cause`.
The `DefaultErrorMessageStrategy` can be overridden via the `error-message-strategy` property.