Update 07-tmq.md

This commit is contained in:
Jeff Tao 2022-08-07 13:36:06 +08:00 committed by GitHub
parent 662f194cd9
commit ef849670ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -97,9 +97,9 @@ TMQ支持多种订阅类型
- 用户对于要处理的每一个数据块都可能有不同的schema因此必须重新获取schema
- 返回数据不带有tag
## 创建 consumer
## 创建 consumer 以及consumer group
目前支持的config
对于consumer, 目前支持的config包括
| 参数名称 | 参数值 | 备注 |
| ---------------------------- | ------------------------------ | ------------------------------------------------------ |
@ -133,6 +133,9 @@ TMQ支持多种订阅类型
return tmq;
```
上述配置中包括consumer group ID如果多个 consumer 指定的 consumer group ID一样则自动形成一个consumer group共享消费进度。
## 创建 topic 列表
单个consumer支持同时订阅多个topic。