You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/07/30 06:01:48 UTC
[pulsar-site] branch main updated: Docs sync done from apache/pulsar(#8f31655)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 9b67e07c429 Docs sync done from apache/pulsar(#8f31655)
9b67e07c429 is described below
commit 9b67e07c4299e42641fefb6f04a41ae181e75049
Author: Pulsar Site Updater <de...@pulsar.apache.org>
AuthorDate: Sat Jul 30 06:01:43 2022 +0000
Docs sync done from apache/pulsar(#8f31655)
---
site2/website-next/docs/developing-binary-protocol.md | 9 +++++++++
site2/website-next/static/swagger/restApiVersions.json | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/site2/website-next/docs/developing-binary-protocol.md b/site2/website-next/docs/developing-binary-protocol.md
index 07460987d2e..1e4ebe62817 100644
--- a/site2/website-next/docs/developing-binary-protocol.md
+++ b/site2/website-next/docs/developing-binary-protocol.md
@@ -333,6 +333,10 @@ Before creating or connecting a consumer, you need to perform [topic lookup](#to
:::
+If the client does not receive a response indicating consumer creation success or failure,
+the client should first send a command to close the original consumer before sending a
+command to re-attempt consumer creation.
+
#### Flow control
After the consumer is ready, the client needs to *give permission* to the
@@ -479,6 +483,11 @@ This command can be sent by either producer or broker.
This command behaves the same as [`CloseProducer`](#command-closeproducer)
+If the client does not receive a response to a `Subscribe` command within a timeout,
+the client must first send a `CloseConsumer` command before sending another
+`Subscribe` command. The client does not need to await a response to the `CloseConsumer`
+command before sending the next `Subscribe` command.
+
##### Command RedeliverUnacknowledgedMessages
A consumer can ask the broker to redeliver some or all of the pending messages
diff --git a/site2/website-next/static/swagger/restApiVersions.json b/site2/website-next/static/swagger/restApiVersions.json
index c0ae35cbb53..8d35bd4d0b0 100644
--- a/site2/website-next/static/swagger/restApiVersions.json
+++ b/site2/website-next/static/swagger/restApiVersions.json
@@ -177,7 +177,7 @@
]
}
],
- "2.6.1": [
+ "2.6.0": [
{
"version": "v2",
"fileName": [
@@ -193,7 +193,7 @@
]
}
],
- "2.6.0": [
+ "2.6.1": [
{
"version": "v2",
"fileName": [