* Support broker priority election for controller mode
* fix comment of brokerElectionPriority
* Set "The lower the value of brokerElectionPriority, the higher the priority of the broker being selected as the master."
* Remove ClientLogger
* WIP
* WIP
* Rename logger to log
* Make it compile
* WIP
* Fix bazel to use shaded slf4j
* Fix DeleteExpiredCommitLogSubCommandTest
* Fix pom.xml duplication
* Fix maven deps
* Add test logback configuration file
* Fix unit test output
* Fix logback configuration file
* All logging are made on top of slf4j
* Fix test log configuration file name
* Fix test log configuration file name for test module
* All logging are shaded slf4j targeted
* DLedger has an explicit dependency on slf4j
* Fix DLedger
* Fix DLeader issue
* Move logback configuration files to each module
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
* invert dependency between remoting and common module
* fix bazel
* Fix Bazel warning of indirect dependency
* remove duplicate class ServiceThread
* fix conflict
* revert delete class ServiceThread because of introduced by dledger
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
* Skip tests that are not compatible with Windows using org.junit.Assume
* Skip incompatible test case
* Ignore cases that is not compatible with Windows
* Skip a test case on Mac to make CI pass
* Skip test case on Windows if load() fails
* Try to grant more time to TlsTest to make Mac CI pass
* Grant longer potential duration for await
* style(pom):Enable checkstyle for test code
* style(broker):Enable checkstyle for test code
* Update pom.xml
* Enable checkstyle for tests of broker module
* Remove delete tmp file assertion as OS may have cron job to clean them
* Fix bazel issue
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol
Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com>
* allow broker to bind specified network interface
* remove bind ip check
* Improve pull request
* Log the listening InetAddress on remoting server started
Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
* Fix netty warning; Fix flaky integration test NormalMessageSendAndRecvIT; Fix naming typo
* Change log level
* Use awaitability to make everyone happy
* Do not submit tasks when executor has been shut down
* optimize the memory usage in DefaultMappedFile:
use AtomicIntegerFieldUpdater instead of AtomicInteger
* fix code bug:
if the initial cursor of listIterator equals zero,
the previous element will always null.
* modify constant name
* fix excessive nesting
* Update client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
* update maven-surefire-plugin.version from 2.19.1 to 2.22.1
* Revert "update maven-surefire-plugin.version from 2.19.1 to 2.22.1"
This reverts commit 37fabe6e78.
* Code Style: fix warn info from the code detector.
* fix checkstyle: not use '*' for import.
* Fix code style in any net modules.
* change method name from topicRouteDataIsChange to topicRouteDataChanged in TopicRouteData.java
* revert executeInvokeCallback method
* Fix grammar issues
Co-authored-by: shanpengyu <shanpengyu@bytedance.com>
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
* Support build with Bazel (#4865)
* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.
* Make test cases capable of running in parallel. (#4874)