Skip to content

remove rule 1:12 (must produce same elements to multiple Subscribers) #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rkuhn opened this issue Feb 17, 2015 · 3 comments · Fixed by #225
Closed

remove rule 1:12 (must produce same elements to multiple Subscribers) #224

rkuhn opened this issue Feb 17, 2015 · 3 comments · Fixed by #225
Labels
Milestone

Comments

@rkuhn
Copy link
Member

rkuhn commented Feb 17, 2015

Rationale: rule 1:11 states that a Publisher may choose to treat multiple Subscribers as either unicast or multicast recipients, but 1:12 forbids the delivery of different stream elements to different subscribers, thereby effectively making the unicast choice useless—the typical use-case would be to have a Publisher set up a new connection to some data source for every new Subscriber, and then it cannot in general guarantee the “same elements” restriction (which might also be unwanted).

Removal of the rule does not actually change the set of permissible behaviors apart from removing the aforementioned conflict, since the word “multicast” sufficiently captures the intent that was behind 1:12.

@viktorklang
Copy link
Contributor

@szeiger questions yesterday got me thinking about this as well, and IIRC I think @benjchristensen raised this a while back too.

I don't see how removing 1.12 would cause any problems so 👍 from me.

@reactive-streams/contributors Wdyt?

(I'll have limited connectivity over the next weeks so won't be able to chime in)

@rkuhn rkuhn mentioned this issue Feb 17, 2015
9 tasks
@drewhk
Copy link
Contributor

drewhk commented Feb 17, 2015

It does not affect Akka Streams, but I also think that the rule is confusing. People have to document the exact semantics of their Publishers for multiple subscribers anyway.

+1 for removal.

@benjchristensen
Copy link
Contributor

👍 for removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants