eventstore_client v0.1.1 EventStore.Subscription.Config

Options:

:resolveLinktos               # Tells the subscription to resolve link events.
:startFrom                    # Start the subscription from the position-th event in the stream.
:extraStatistics              # Tells the backend to measure timings on the clients so statistics will contain histograms of them.
:checkPointAfterMilliseconds  # The amount of time the system should try to checkpoint after.
:liveBufferSize               # The size of the live buffer (in memory) before resorting to paging.
:readBatchSize                # The size of the read batch when in paging mode.
:bufferSize                   # The number of messages that should be buffered when in paging mode.
:maxCheckPointCount           # The maximum number of messages not checkpointed before forcing a checkpoint.
:maxRetryCount                # Sets the number of times a message should be retried before being considered a bad message.
:maxSubscriberCount           # Sets the maximum number of allowed subscribers
:messageTimeoutMilliseconds   # Sets the timeout for a client before the message will be retried.
:minCheckPointCount           # The minimum number of messages to write a checkpoint for.
:namedConsumerStrategy        # RoundRobin/DispatchToSingle

See http://docs.geteventstore.com/http-api/3.5.0/competing-consumers/

Summary

Functions

Compare two configs, returning a list of keys from c1 that != key in c2 and is not nil in c1

Functions

diff(c1, c2)

Compare two configs, returning a list of keys from c1 that != key in c2 and is not nil in c1

iex> c1 = %Config{bufferSize: 200}
iex> c2 = %Config{bufferSize: 100, maxRetryCount: 1}
iex> Config.diff(c1, c2)
[:bufferSize]
iex> Config.diff(c2, c1)
[:maxRetryCount, :bufferSize]