未验证 提交 51fdbe43 编写于 作者: S Shuaiqiang Chang 提交者: GitHub

Update 07-tmq.mdx

上级 a89f945e
......@@ -90,6 +90,7 @@ void close() throws SQLException;
</TabItem>
<TabItem value="Python" label="Python">
```python
class TaosConsumer():
def __init__(self, *topics, **configs)
......@@ -107,9 +108,10 @@ class TaosConsumer():
def close(self)
def __del__(self)
```
</TabItem>
<TabItem label="Go" value="Go">
```go
......@@ -152,7 +154,6 @@ void Unsubscribe()
void Commit(ConsumeResult consumerResult)
void Close()
```
</TabItem>
......@@ -590,6 +591,7 @@ consumer.Unsubscribe();
// 关闭消费
consumer.Close();
```
</TabItem>
</Tabs>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册