autoConnect(0) seems to be broken - late subscribers receive data #3805
Labels
area/connectableFlux
The issue is related to the ConnectableFlux stack
status/need-investigation
This needs more in-depth investigation
Milestone
autoConnect(0) seems to be broken completely.
Steps to replicate:
Expected Behavior:
First subscribers get fresh messages emitted by the source. This behavior should be same for late subscribers as well. That is - if the source is already completed, late subscribers should not receive any data.
Actual Behavior.
the late subscribers get all the messages dropped by the first subscriber. This behavior does not make any sense.
Tested with latest version as well - https://mvnrepository.com/artifact/io.projectreactor/reactor-bom/2023.0.5
The text was updated successfully, but these errors were encountered: