StartFrom

enum class StartFrom : Enum<StartFrom>

Where a subscription without a checkpoint in a partition starts.

Entries

Link copied to clipboard

From the first entry of the partition: a new projection, or a replay under a new name.

Link copied to clipboard

After the entries already committed when the subscription first starts in the partition (its log head).

Link copied to clipboard

From the first entry when the service joins the stream's topic with it, no other subscription of the service having read it yet; otherwise END, so a handler added later to a service that reads the stream does not act on its history again: a reactor's or a saga's handler of another context's stream.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): StartFrom

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.