Skip to content

fix: Partition assignment stream does not require an initial response - #966

Merged
dpcollins-google merged 2 commits into
googleapis:mainfrom
tmdiep:assignment_stream
Dec 7, 2021
Merged

fix: Partition assignment stream does not require an initial response#966
dpcollins-google merged 2 commits into
googleapis:mainfrom
tmdiep:assignment_stream

Conversation

@tmdiep

@tmdiep tmdiep commented Dec 7, 2021

Copy link
Copy Markdown
Contributor

If the client reconnects and assignments have not changed, the server does not send an initial assignment set. This can cause subscriber shutdown to hang because the lock is held in SingleConnection while waiting for stream initialization to complete.

@tmdiep
tmdiep requested review from a team and dpcollins-google December 7, 2021 03:03
@product-auto-label product-auto-label Bot added the api: pubsublite Issues related to the googleapis/java-pubsublite API. label Dec 7, 2021
@dpcollins-google
dpcollins-google merged commit 8227d31 into googleapis:main Dec 7, 2021
@tmdiep
tmdiep deleted the assignment_stream branch December 7, 2021 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsublite Issues related to the googleapis/java-pubsublite API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants