apache / apache/rocketmq-client-python

cpu high load with no exist group

Open
#135 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
98
PR merge metrics
No merged PRs in 30d

Description

consumer cause high cpu load。

### high load code:
```

consumer = PushConsumer(group) # rocketmq group is not exist
consumer.set_namesrv_addr(address)
consumer.subscribe(topic=topic, callback=callback)
consumer.start()

while True:
time.sleep(3600)

```

**this code run with no exception , no warning hit。**

top monitor result here:
image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.