PostgresEventLogOptions

class PostgresEventLogOptions(val pollInterval: Duration = DEFAULT_POLL_INTERVAL, val maxPollInterval: Duration = DEFAULT_MAX_POLL_INTERVAL, val tailBatch: Int = DEFAULT_TAIL_BATCH, val ddl: Ddl = Ddl.AUTO, val arraysAbove: Int = PostgresBatches.ARRAYS_ABOVE, val stallWarning: Duration = DEFAULT_STALL_WARNING)

The settings of a PostgresEventLog: how its tails poll, and how it manages its tables. An immutable value with the defaults a host starts from; the store builds it once from its configuration (PostgresStoreProvider), and the log takes it whole. The MongoDB log takes its own, MongoEventLogOptions, of the same shape.

Constructors

Link copied to clipboard
constructor(pollInterval: Duration = DEFAULT_POLL_INTERVAL, maxPollInterval: Duration = DEFAULT_MAX_POLL_INTERVAL, tailBatch: Int = DEFAULT_TAIL_BATCH, ddl: Ddl = Ddl.AUTO, arraysAbove: Int = PostgresBatches.ARRAYS_ABOVE, stallWarning: Duration = DEFAULT_STALL_WARNING)

Properties

Link copied to clipboard

The streams above which an append across partitions binds each column as one array, one statement text whatever its size (PostgresBatches.ARRAYS_ABOVE); 0 binds every such group so.

Link copied to clipboard
val ddl: Ddl

How the log's tables are managed: created when missing by default (wow.ddl).

Link copied to clipboard

The longest wait of an idle tail, which doubles its wait up to it: an entry another node appends is read within it.

Link copied to clipboard

How often a tail polls while it finds entries (PostgresEventLog's polling).

Link copied to clipboard

How long a tail may read nothing while its partition's counter is past what it read before it warns, naming the partition and the sequence it waits for, and again each time as long (TailStall): its entry's table is not in the registry, or the entry was deleted.

Link copied to clipboard

How many entries a tail reads at a time.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String