20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
//tag::ref-doc[]
|
|
= Time Source
|
|
|
|
The time source will simply emit a String with the current time every so often.
|
|
|
|
== Options
|
|
|
|
The **$$time$$** $$source$$ has the following options:
|
|
|
|
//tag::configuration-properties[group=false]
|
|
$$spring.cloud.stream.poller.cron$$:: $$Cron expression value for the Cron Trigger.$$ *($$String$$, default: `$$<none>$$`)*
|
|
$$spring.cloud.stream.poller.fixed-delay$$:: $$Fixed delay for default poller.$$ *($$Long$$, default: `$$1000$$`)*
|
|
$$spring.cloud.stream.poller.initial-delay$$:: $$Initial delay for periodic triggers.$$ *($$Integer$$, default: `$$0$$`)*
|
|
$$spring.cloud.stream.poller.max-messages-per-poll$$:: $$Maximum messages per poll for the default poller.$$ *($$Long$$, default: `$$1$$`)*
|
|
$$spring.cloud.stream.poller.time-unit$$:: $$The TimeUnit to apply to delay values.$$ *($$TimeUnit$$, default: `$$<none>$$`, possible values: `NANOSECONDS`,`MICROSECONDS`,`MILLISECONDS`,`SECONDS`,`MINUTES`,`HOURS`,`DAYS`)*
|
|
$$time.date-format$$:: $$Format for the date value.$$ *($$String$$, default: `$$MM/dd/yy HH:mm:ss$$`)*
|
|
//end::configuration-properties[]
|
|
|
|
//end::ref-doc[]
|