pekko/stream/src/main
Andreas Lochbihler de12867f94
Avoid register/unregister race condition that can wipe elements from BroadcastHub (#1841)
* add test case to demonstrate that BroadcastHub drops elements

* fix the race condition with unregister (refs https://github.com/apache/pekko/issues/1836)

* address review comment: documentation and separate constructor instead of default arguments

* address review comments

* Update Hub.scala

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-06-02 12:13:50 +01:00
..
boilerplate/org/apache/pekko/stream chore: Fix GraphApply.scala.template 2023-12-25 12:49:47 +08:00
java/org/apache/pekko/stream protobuf-java 4.29.3 (#1795) 2025-04-17 23:10:33 +02:00
java-jdk-9/org/apache/pekko/stream/javadsl adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
mima-filters protobuf-java 4.29.3 (#1795) 2025-04-17 23:10:33 +02:00
protobuf adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
resources Configuration typo fixes (#1100) 2024-02-05 17:21:23 +01:00
scala Avoid register/unregister race condition that can wipe elements from BroadcastHub (#1841) 2025-06-02 12:13:50 +01:00
scala-2.12/org/apache/pekko/stream/javadsl Fix CollectionUtil toSeq methods 2024-10-01 15:17:53 +02:00
scala-2.13/org/apache/pekko/stream/javadsl Fix CollectionUtil toSeq methods 2024-10-01 15:17:53 +02:00
scala-3/org/apache/pekko/stream/javadsl Fix CollectionUtil toSeq methods 2024-10-01 15:17:53 +02:00
scala-jdk-9/org/apache/pekko/stream adjust ASF header (#450) 2023-06-22 14:19:26 +01:00