Files
stream-applications/applications/source/time-source
2020-10-11 10:43:16 -04:00
..
2020-09-22 15:06:34 -04:00
2020-10-11 10:43:16 -04:00

//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[]
$$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$$`)*
$$time.date-format$$:: $$Format for the date value.$$ *($$String$$, default: `$$MM/dd/yy HH:mm:ss$$`)*
//end::configuration-properties[]

//end::ref-doc[]