You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,8 @@ producer.shutdown((err) => {
107
107
awaitproducer.shutdown();
108
108
```
109
109
110
+
> **Note:** Producer is a one-shot object. Once `shutdown()` is called, the instance cannot be restarted. Create a new `Producer` instance if you need to send messages again.
111
+
110
112
### PushConsumer
111
113
112
114
#### Constructor
@@ -193,6 +195,8 @@ consumer.shutdown((err) => {
193
195
awaitconsumer.shutdown();
194
196
```
195
197
198
+
> **Note:** PushConsumer is a one-shot object. Once `shutdown()` is called, the instance cannot be restarted. Create a new `PushConsumer` instance if you need to consume messages again.
199
+
196
200
### Aliyun RocketMQ
197
201
198
202
For Aliyun RocketMQ, additional configuration is required:
0 commit comments