Skip to content

Conversation

@aozd4v
Copy link
Contributor

@aozd4v aozd4v commented Jan 16, 2018

Adds a boolean flag to the Stream struct to allow enabling/disabling of replaying the eventlog to newly added subscribers.

Ensures backward-compatibility of functionality by defaulting the AutoReplay flag to true, which would emulate past behaviour.

Also added tests for when AutoReplay is both enabled and disabled.

Let us know if there's anything to be improved as part of this PR.

@adriacidre
Copy link
Contributor

LGTM ty @gczn :)

@adriacidre adriacidre merged commit 2538036 into r3labs:master Jan 16, 2018
@aozd4v aozd4v deleted the feat-stream-auto-replay-option branch January 16, 2018 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants