You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pekko.apache.org by kerr <he...@gmail.com> on 2023/03/23 16:23:56 UTC
What to do with BroadcastHub's default behavior
Refs: akka/akka#28327 <https://github.com/akka/akka/issues/28327>
We can add a startAfterNrOfConsumers to BroadcastHub.
I think we should make the current BroadcastHub.sink[T] with
BroadcastHub.sink[T]
= BroadcastHub.sink(startAfterNrOfConsumers = 1, defaultBufferSize) in
pekko by default, which is 0 now.
https://stackoverflow.com/questions/58974630/broadcasthub-doesnt-wait-for-first-materialization-of-source
何品
Re: What to do with BroadcastHub's default behavior
Posted by PJ Fanning <fa...@gmail.com>.
This seems ok for v1.0.0 Pekko to me. It is a new function (at least,
a separate overloaded version of the existing function).
Existing Akka users can migrate and use the equivalent function or
they can switch to the overloaded alternative function. This seems to
be a tidy migration path to me.
On Thu, 23 Mar 2023 at 17:24, kerr <he...@gmail.com> wrote:
>
> Refs: akka/akka#28327 <https://github.com/akka/akka/issues/28327>
>
> We can add a startAfterNrOfConsumers to BroadcastHub.
>
> I think we should make the current BroadcastHub.sink[T] with
> BroadcastHub.sink[T]
> = BroadcastHub.sink(startAfterNrOfConsumers = 1, defaultBufferSize) in
> pekko by default, which is 0 now.
>
> https://stackoverflow.com/questions/58974630/broadcasthub-doesnt-wait-for-first-materialization-of-source
>
> 何品
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
For additional commands, e-mail: dev-help@pekko.apache.org