feat(PubSub): unbounded replay#2940
Conversation
🦋 Changeset detectedLatest commit: 7cdbf81 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4848bd0 to
c4079a1
Compare
c859b15 to
5c85042
Compare
c4079a1 to
2c7a5fd
Compare
5c85042 to
4e18c4b
Compare
2aa3eeb to
62af9a6
Compare
f45852b to
4fdcf95
Compare
5e4b224 to
7c2eedc
Compare
13bbc9c to
1ad8ec6
Compare
|
I think if we were going to add a replay option, we would need to add it to every strategy. Also switch to object arguments: Pubsub.unbounded<string>({ replaySize: 16 }) |
1ad8ec6 to
99504d8
Compare
|
I'm not sure how I like the idea about object argument. What do you think about |
capacity and replay could be separate buffers, so you could have a higher replay buffer compared to the capacity. Or the capacity could be the ceiling. Also I think the replay doesn't need to be tracked per strategy, but rather on the PubSubImpl. The replay buffer can be independent of the subscriber-based logic. |
99504d8 to
25b360d
Compare
I don't see a way to implement it in the I think it is possible to reimplement the whole |
83632b3 to
5fbc6fd
Compare
442cb26 to
11e6820
Compare
5fbc6fd to
ac70b32
Compare
11e6820 to
2bf84be
Compare
ac70b32 to
db63b92
Compare
2bf84be to
e57673f
Compare
db63b92 to
9dc6098
Compare
e57673f to
ac0e661
Compare
9dc6098 to
32ce7d2
Compare
ac0e661 to
a83ef44
Compare
32ce7d2 to
28a2e1f
Compare
a83ef44 to
d8f9c52
Compare
28a2e1f to
b297da9
Compare
d8f9c52 to
9959ac6
Compare
b297da9 to
9050976
Compare
9959ac6 to
18d19e0
Compare
9050976 to
3079398
Compare
18d19e0 to
9b309b1
Compare
3079398 to
6c59832
Compare
9b309b1 to
ce43d9c
Compare
6c59832 to
74c6b46
Compare
ce43d9c to
e4f737f
Compare
74c6b46 to
1d5dae6
Compare
Type
Description
Implementation of replay last N values feature for
PubSub.unbounded(replayBufferSize: N = 0).Can further be used to create shared
Stream#2943.Related