The GitHub Actions job "License checker" on 
rocketmq.git/cnj/example-litepull-assign has failed.
Run started by GitHub user chennaji9 (triggered by chennaji9).

Head commit for run:
cfe5fc4099d3c0b48a5d6ccb6e36386f335f81f7 / 陈那几 <[email protected]>
[ISSUE #11282] fix(example): LitePullConsumerAssign crashes for single-queue 
topics

The assign list was built with floor division (list.size() / 2), so a
topic with a single queue produced an empty assign list and the following
assignList.get(0) threw IndexOutOfBoundsException. Use ceiling division
so at least one queue is assigned whenever the topic has queues.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

Report URL: https://github.com/apache/rocketmq/actions/runs/36704791766

With regards,
GitHub Actions via GitBox

Reply via email to