未验证 提交 7361b89e 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: update cloud tmq sample code (#16447)

* docs: update rust cloud tmq sample code

* docs: update rust tmq sample code

* docs: comment off other languages code

* docs: update en/09-data-out/02-tmq.md

* docs: update en/09-data-out/02-tmq.md
上级 1b54e6a9
...@@ -109,7 +109,7 @@ After message consumption is finished, the consumer is unsubscribed. ...@@ -109,7 +109,7 @@ After message consumption is finished, the consumer is unsubscribed.
## Sample Code ## Sample Code
<Tabs defaultValue="rust" groupId="lang"> <Tabs defaultValue="Rust" groupId="lang">
<TabItem value="c" label="C"> <TabItem value="c" label="C">
...@@ -130,6 +130,9 @@ Will be available soon ...@@ -130,6 +130,9 @@ Will be available soon
<TabItem label="Rust" value="Rust"> <TabItem label="Rust" value="Rust">
```rust
{{#include docs/examples/rust/cloud-example/examples/subscribe_demo.rs}}
```
</TabItem> </TabItem>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册