rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

Enhancement Request[Enhancement] Virtual thread support for consumer thread

Open He-Pin opened this issue 1 year ago • 0 comments

Before Creating the Enhancement Request

  • [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

Add virtual thread support for ConsumeMessageService

Motivation

There are many ConsumeMessageThread_ threads at work, so I would like to leverage the virtual thread in Java 21.

Describe the Solution You'd Like

Add virtual thread support when user turns it on and the virtual thread is supported.

Describe Alternatives You've Considered

delegate to a virtual thread pool.

Additional Context

at $Work

He-Pin avatar Apr 24 '24 12:04 He-Pin