apache / rocketmq-client-python

Apache RocketMQ python client
https://rocketmq.apache.org/
Apache License 2.0
271 stars 95 forks source link

cpu high load with no exist group #135

Open afeiiiii opened 1 year ago

afeiiiii commented 1 year ago

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