rocketmq-client-python icon indicating copy to clipboard operation
rocketmq-client-python copied to clipboard

cpu high load with no exist group

Open afeiiiii opened this issue 2 years ago • 0 comments

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

afeiiiii avatar May 30 '23 12:05 afeiiiii