Open HuismanKwl opened 2 years ago
rocketmq-4.9.2 rocketmq-client-python-2.0.0
def callback(msg): return CONSUME_SUCCESS
consumer = PushConsumer(xxxxx) consumer.set_name_server_address(xxxxx) consumer.subscribe(xxxxx, callback) consumer.set_thread_count(1) consumer.start()
consumer.start() happened Segmentation fault (core dumped)
Please post more details about the coredump.
Same issue. When add while True: time.sleep(30), then it's hung on as expected, you can get ride of this issue.
while True: time.sleep(30)
rocketmq-4.9.2
rocketmq-client-python-2.0.0
def callback(msg): return CONSUME_SUCCESS
consumer = PushConsumer(xxxxx) consumer.set_name_server_address(xxxxx) consumer.subscribe(xxxxx, callback) consumer.set_thread_count(1) consumer.start()
consumer.start() happened Segmentation fault (core dumped)