Add missing timeUnit in DefaultPollerProperties

Fixing docs

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2052
Resolves #2053
This commit is contained in:
Soby Chacko
2020-11-18 16:14:04 -05:00
committed by Oleg Zhurakousky
parent 8cf5e62820
commit 02c642ff99
2 changed files with 31 additions and 1 deletions

View File

@@ -550,6 +550,21 @@ Maximum messages for each polling event of the default poller.
+
Default: 1L.
cron::
Cron expression value for the Cron Trigger.
+
Default: none.
initialDelay::
Initial delay for periodic triggers.
+
Default: 0.
timeUnit::
The TimeUnit to apply to delay values.
+
Default: MILLISECONDS.
For example `--spring.cloud.stream.poller.fixed-delay=2000` sets the poller interval to poll every two seconds.
===== Sending arbitrary data to an output (e.g. Foreign event-driven sources)