diff --git a/docs/zh/08-develop/07-tmq.md b/docs/zh/08-develop/07-tmq.md index a9c2b391d3..f148dde9b2 100644 --- a/docs/zh/08-develop/07-tmq.md +++ b/docs/zh/08-develop/07-tmq.md @@ -605,10 +605,12 @@ TMQ 消息队列是一个 [futures::Stream](https://docs.rs/futures/latest/futur - +
+完整 Websocket 连接代码示例 ```python {{#include docs/examples/python/tmq_websocket_example.py}} ``` +
@@ -659,10 +661,12 @@ TMQ 消息队列是一个 [futures::Stream](https://docs.rs/futures/latest/futur - +
+完整原生连接代码示例 ```python {{#include docs/examples/python/tmq_native.py}} ``` +