Configuring Kafka producer timeout

Allow setting timeout for closing the producer.

Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/891
Resolves #909
This commit is contained in:
Soby Chacko
2020-05-27 17:10:28 -04:00
parent 788dc28d7e
commit 473ca53723
4 changed files with 42 additions and 3 deletions

View File

@@ -409,6 +409,11 @@ To achieve exactly once consumption and production of records, the consumer and
+
Default: none.
closeTimeout::
Timeout in number of seconds to wait for when closing the producer.
+
Default: `30`
==== Usage examples
In this section, we show the use of the preceding properties for specific scenarios.