f1amingo opened a new pull request, #10561:
URL: https://github.com/apache/rocketmq/pull/10561

   ### Which Issue(s) This PR Fixes
   
   - Fixes #10560
   
   ### Brief Description
   
   Remove the `enableLiteEventMode` boolean switch from `BrokerConfig` since it 
always defaults to `true` and the disabled path is dead code.
   
   Changes:
   - Remove `enableLiteEventMode` field, getter and setter from `BrokerConfig`
   - Remove 5 early-return guard checks (`isEnableLiteEventMode()`) in 
`LiteEventDispatcher`
   - Remove dead condition in `PopLiteMessageProcessor.popLiteTopic`
   - Simplify `getEventIterator` to always use the event-set path
   - Delete unused `LiteSubscriptionIterator` inner class and its test
   - Remove disabled-mode test cases and stale Javadoc references
   
   ### How Did You Test This Change?
   
   - Removed obsolete test cases that covered the disabled-mode branches
   - Existing unit tests in `LiteEventDispatcherTest` and 
`PopLiteMessageProcessorTest` cover the always-enabled path


-- 
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