Daniel Nephin
16a2b3fafc
stream: change Topic to an interface
...
Consumers of the package can decide on which type to use for the Topic. In the future we may
use a gRPC type for the topic.
2020-07-14 15:57:47 -04:00
Daniel Nephin
e1305fe80c
stream: unexport identifiers
...
Now that EventPublisher is part of stream a lot of the internals can be hidden
2020-07-14 15:57:47 -04:00
Daniel Nephin
7196917051
stream.EventBuffer: Seed the fuzz test with time.Now()
...
Otherwise the test will run with exactly the same values each time.
By printing the seed we can attempt to reproduce the test by adding an env var to override the seed
2020-07-14 15:57:45 -04:00
Daniel Nephin
2e45bbbb3e
stream: Use local types for Event Topic SubscriptionRequest
2020-07-14 15:57:45 -04:00
Daniel Nephin
526fb53f85
Add streaming package with Subscription and Snapshot components.
...
The remaining files from 7965767de0bd62ab07669b85d6879bd5f815d157
Co-authored-by: Paul Banks <banks@banksco.de>
2020-07-14 15:57:44 -04:00