f1amingo opened a new issue, #10381:
URL: https://github.com/apache/rocketmq/issues/10381

   ### Before Creating the Enhancement Request
   
   - [x] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   Make HashedWheelTimer parameters configurable in 
QueueLevelConsumerOrderInfoLockManager via BrokerConfig.
   
   ### Motivation
   
   The HashedWheelTimer in QueueLevelConsumerOrderInfoLockManager uses 
hardcoded tick duration (100ms) and default ticksPerWheel (512). These 
parameters affect timer precision and memory usage but cannot be tuned without 
code changes.
   
   ### Describe the Solution You'd Like
   
   Add two fields to BrokerConfig:
   popOrderLockTimerTickMs (default: 100)
   popOrderLockTimerTicksPerWheel (default: 512)
   Use them in QueueLevelConsumerOrderInfoLockManager to construct 
HashedWheelTimer. Defaults preserve backward compatibility.
   
   ### Describe Alternatives You've Considered
   
   - Keep hardcoded values: simple but inflexible.
   - Use system properties: less discoverable and inconsistent with existing 
config style.
   
   ### Additional Context
   
   None.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to