The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/reset-offset-by-time-cluster-option has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
1a66e77fa755bfe1886b6366309e63b18f2ccaae / zjncs <[email protected]>
fix(tools): stop -c <cluster> from switching resetOffsetByTime to the C++ 
protocol

resetOffsetByTime registered two options with the short name 'c': the
deprecated cplus switch and the cluster selector. commons-cli keeps only
the later registration for '-c', so the cplus flag could never be set
through its short form, while any '-c <cluster>' (the documented LMQ
route usage) made isC true and resetOffsetByTimestamp sent the request
with LanguageCode.CPP, to which the broker replies with
ResetOffsetBodyForC while the Java client decodes ResetOffsetBody. Drop
the short name from the deprecated cplus option and detect it through
its long name only.

Signed-off-by: zjncs <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to