[Protocol] Add guidance to send CloseProducer before sending Producer…#12948
Merged
eolivelli merged 1 commit intoDec 2, 2021
Merged
Conversation
… in case of client side timeout
Anonymitaet
approved these changes
Nov 24, 2021
Anonymitaet
reviewed
Nov 24, 2021
Member
|
@codelipenghui can you review it from the technical perspective? Thanks |
1 task
dave2wave
requested review from
addisonj,
codelipenghui,
eolivelli,
lhotari,
merlimat,
sijie and
srkukarni
December 2, 2021 16:44
eolivelli
approved these changes
Dec 2, 2021
1 task
fxbing
pushed a commit
to fxbing/pulsar
that referenced
this pull request
Dec 19, 2021
… in case of client side timeout (apache#12948)
1 task
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… in case of client side timeout
Motivation
As discussed on the mailing list here, https://lists.apache.org/thread/tko0z4jg0oq0yf931rbow2zf9fq8wjt1, it is most ideal for the client to send a
CloseProducercommand before sending a subsequentProducercommand when the client timeouts out the originalProducerrequest.This PR updates the protocol documentation. I will submit a PR to update the Java client once this PR is merged.
Modifications
Verifying this change
This is just a change to documentation.
Does this pull request potentially affect one of the following parts:
Regarding the change to the wire protocol, this is simply an expansion on a currently ambiguous portion of the protocol. I've discussed this change on the mailing list.
Documentation
doc