Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
pulsar
提交
2620d66b
pulsar
项目概览
apache
/
pulsar
通知
129
Star
40
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
pulsar
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
提交
体验新版 GitCode,发现更多精彩内容 >>
提交
2620d66b
编写于
4月 20, 2017
作者:
M
Matteo Merli
提交者:
GitHub
4月 20, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
In BinaryProtocol.md use %20 in image links (#368)
上级
5862644e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
4 addition
and
4 deletion
+4
-4
docs/BinaryProtocol.md
docs/BinaryProtocol.md
+4
-4
未找到文件。
docs/BinaryProtocol.md
浏览文件 @
2620d66b
...
@@ -144,7 +144,7 @@ When compression is enabled, the whole batch will be compressed at once.
...
@@ -144,7 +144,7 @@ When compression is enabled, the whole batch will be compressed at once.
After opening a TCP connection to a broker, typically on port 6650, the client
After opening a TCP connection to a broker, typically on port 6650, the client
is responsible to initiate the session.
is responsible to initiate the session.
![
Connect interaction
](
img/Binary
Protocol - Connect.png
)
![
Connect interaction
](
"img/Binary%20Protocol%20-%20Connect.png"
)
After receiving a
`Connected`
response from the broker, the client can
After receiving a
`Connected`
response from the broker, the client can
consider the connection ready to use. Alternatively, if the broker doesn't
consider the connection ready to use. Alternatively, if the broker doesn't
...
@@ -209,7 +209,7 @@ authorized to publish on the topic.
...
@@ -209,7 +209,7 @@ authorized to publish on the topic.
Once the client gets confirmation of the producer creation, it can publish
Once the client gets confirmation of the producer creation, it can publish
messages to the broker, referring to the producer id negotiated before.
messages to the broker, referring to the producer id negotiated before.
![
Producer interaction
](
img/Binary
Protocol -
Producer.png)
![
Producer interaction
](
img/Binary
%20Protocol%20-%20
Producer.png
)
##### Command Producer
##### Command Producer
...
@@ -322,7 +322,7 @@ A consumer is used to attach to a subscription and consume messages from it.
...
@@ -322,7 +322,7 @@ A consumer is used to attach to a subscription and consume messages from it.
After every reconnection, a client needs to subscribe to the topic. If a
After every reconnection, a client needs to subscribe to the topic. If a
subscription is not already there, a new one will be created.
subscription is not already there, a new one will be created.
![
Consumer
](
img/Binary
Protocol -
Consumer.png)
![
Consumer
](
img/Binary
%20Protocol%20-%20
Consumer.png
)
#### Flow control
#### Flow control
...
@@ -471,7 +471,7 @@ connect to, or a broker hostname to which retry the lookup.
...
@@ -471,7 +471,7 @@ connect to, or a broker hostname to which retry the lookup.
The
`LookupTopic`
command has to be used in a connection that has already
The
`LookupTopic`
command has to be used in a connection that has already
gone through the
`Connect`
/
`Connected`
initial handshake.
gone through the
`Connect`
/
`Connected`
initial handshake.
![
Topic lookup
](
img/Binary
Protocol - Topic
lookup.png)
![
Topic lookup
](
img/Binary
%20Protocol%20-%20Topic%20
lookup.png
)
```
json
```
json
CommandLookupTopic
{
CommandLookupTopic
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录