Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.
This report summarizes scanner evidence for apache/rocketmq, a Java project with 22,645 GitHub stars. SynthScan examined 421,874 lines of code across 2488 source files, recording 93 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 49 finding(s).
Are imports declared and package/API names verified? 24 finding(s).
Are wrappers, guards, and repeated structures necessary? 21 finding(s).
Which changes need focused human review? 93 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 93 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …va/org/apache/rocketmq/remoting/netty/NettyLogger.java | 36 | io.netty.util.internal.logging.InternalLoggerFactory.setDefaultFactory(new NettyBridgeLoggerFactory()); | CODE |
| CRITICAL | …er/processor/PopLiteMessageProcessorEventLossTest.java | 141 | messageStore = org.apache.rocketmq.broker.lite.LiteTestUtil.buildMessageStore( | CODE |
| CRITICAL | …er/processor/PopLiteMessageProcessorEventLossTest.java | 296 | messageStore.putMessage(org.apache.rocketmq.broker.lite.LiteTestUtil.buildMessage(PARENT_TOPIC, liteTopic)); | CODE |
| CRITICAL | …ocketmq/broker/processor/AdminBrokerProcessorTest.java | 706 | String retryTopic = org.apache.rocketmq.common.KeyBuilder.buildPopRetryTopic("myTopic", "cid1", | CODE |
| CRITICAL | …ocketmq/broker/processor/AdminBrokerProcessorTest.java | 717 | when(consumerOffsetManager.whichGroupByTopic("myTopic")).thenReturn(com.google.common.collect.Sets.newHashSet("c | CODE |
| CRITICAL | …/broker/config/v1/RocksDBSubscriptionGroupManager.java | 318 | if (!org.apache.rocketmq.common.UtilAll.isPathExists(separateRocksDBPath)) { | CODE |
| CRITICAL | …he/rocketmq/broker/processor/AdminBrokerProcessor.java | 858 | ? com.google.common.util.concurrent.RateLimiter.create(maxRate) : null; | CODE |
| CRITICAL | …he/rocketmq/broker/processor/AdminBrokerProcessor.java | 1872 | ? com.google.common.util.concurrent.RateLimiter.create(maxRate) : null; | CODE |
| CRITICAL | …he/rocketmq/proxy/grpc/v2/route/RouteActivityTest.java | 82 | addressArrayList.add(new org.apache.rocketmq.proxy.common.Address( | CODE |
| CRITICAL | …he/rocketmq/proxy/grpc/v2/route/RouteActivityTest.java | 85 | addressArrayList.add(new org.apache.rocketmq.proxy.common.Address( | CODE |
| CRITICAL | …e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java | 368 | org.apache.rocketmq.logging.org.slf4j.LoggerFactory.getILoggerFactory(); | CODE |
| CRITICAL | …e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java | 383 | org.apache.rocketmq.logging.ch.qos.logback.classic.Level.toLevel(level.name()); | CODE |
| CRITICAL | …e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java | 458 | result.getAttributes().put(org.apache.rocketmq.common.TopicAttributes.TOPIC_MESSAGE_TYPE_ATTRIBUTE.getName(), | CODE |
| CRITICAL | …e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java | 1377 | org.apache.rocketmq.common.message.Message message = new org.apache.rocketmq.common.message.Message( | CODE |
| CRITICAL | …e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java | 1707 | relayRequest.setBody(org.apache.rocketmq.common.message.MessageDecoder.encode(messageExt, false)); | CODE |
| CRITICAL | …cketmq/proxy/grpc/v2/producer/SendMessageActivity.java | 219 | org.apache.rocketmq.common.message.Message messageWithHeader = new org.apache.rocketmq.common.message.Message(); | CODE |
| CRITICAL | …apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java | 199 | addressList.add(new org.apache.rocketmq.proxy.common.Address( | CODE |
| CRITICAL | …apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java | 200 | org.apache.rocketmq.proxy.common.Address.AddressScheme.valueOf(endpoints.getScheme().name()), | CODE |
| CRITICAL | …/java/org/apache/rocketmq/test/grpc/v2/GrpcBaseIT.java | 574 | org.apache.rocketmq.common.message.MessageQueue dlqMQ = new org.apache.rocketmq.common.message.MessageQueue(MixA | CODE |
| CRITICAL | …/rocketmq/test/clientinterface/AbstractMQProducer.java | 101 | org.apache.rocketmq.common.message.Message msg = new org.apache.rocketmq.common.message.Message( | CODE |
| CRITICAL | …on/builder/DefaultAuthorizationContextBuilderTest.java | 652 | new org.apache.rocketmq.common.message.MessageQueue(" ", "broker-a", 0))); | CODE |
| CRITICAL | …on/builder/DefaultAuthorizationContextBuilderTest.java | 662 | new org.apache.rocketmq.common.message.MessageQueue(" ", "broker-a", 0))); | CODE |
| CRITICAL | …main/java/io/openmessaging/rocketmq/utils/OMSUtil.java | 48 | org.apache.rocketmq.common.message.Message rmqMessage = new org.apache.rocketmq.common.message.Message(); | CODE |
| CRITICAL | …q/tieredstore/core/MessageStoreDispatcherImplTest.java | 111 | Mockito.when(messageStore.getMessageStoreConfig()).thenReturn(new org.apache.rocketmq.store.config.MessageStoreC | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | CONTRIBUTING.md | 41 | COMMENT | |
| LOW | .licenserc.yaml | 1 | # | COMMENT |
| LOW | …he/rocketmq/tools/admin/DefaultMQAdminExtImplTest.java | 641 | } | COMMENT |
| LOW | …esrv/routeinfo/RouteInfoManagerBrokerRegisterTest.java | 61 | } | COMMENT |
| LOW | distribution/benchmark/consumer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/benchmark/runclass.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/benchmark/tproducer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/benchmark/batchproducer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/benchmark/producer.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/benchmark/shutdown.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/runserver.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/cleancache.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/tools.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/runbroker.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/cleancache.v1.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/setcache.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/export.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/bin/cachedog.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/startfsrv.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/play.sh | 1 | #!/bin/sh | COMMENT |
| LOW | distribution/bin/os.sh | 1 | #!/bin/sh | COMMENT |
| LOW | …tion/bin/controller/fast-try-independent-deployment.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | distribution/bin/controller/fast-try-namesrv-plugin.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | distribution/bin/controller/fast-try.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | distribution/bin/dledger/fast-try.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | distribution/conf/tools.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | docs/cn/Configuration_TLS.md | 41 | # The flag to determine whether use test mode when initialize TLS context. default is true | COMMENT |
| LOW | …org/apache/rocketmq/common/message/MessageDecoder.java | 61 | // + 4 // 4 QUEUEID | COMMENT |
| LOW | .github/workflows/license-checker.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/workflows/snapshot-automation.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/config.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/enhancement_request.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/doc.yml | 1 | # | COMMENT |
| LOW | dev/merge_rocketmq_pr.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | client/src/test/resources/acl_hook/plain_acl.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | client/src/test/resources/conf/plain_acl_incomplete.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ache/rocketmq/store/queue/BatchConsumeMessageTest.java | 81 | @Test | COMMENT |
| LOW | …/main/java/org/apache/rocketmq/store/ConsumeQueue.java | 621 | // | COMMENT |
| LOW | …g/apache/rocketmq/store/config/MessageStoreConfig.java | 201 | // raise it if larger messages are common. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | distribution/bin/runserver.sh | 18 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runserver.sh | 20 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runserver.sh | 53 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runserver.sh | 55 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/tools.sh | 18 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/tools.sh | 20 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/tools.sh | 53 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/tools.sh | 55 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runbroker.sh | 18 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runbroker.sh | 20 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runbroker.sh | 53 | #=========================================================================================== | COMMENT |
| MEDIUM | distribution/bin/runbroker.sh | 55 | #=========================================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tools/command/metadata/RocksDBConfigToJsonCommand.java | 238 | System.out.print("Error occurred while converting RocksDB kv config to json, " + "configType=" + configType | CODE |
| MEDIUM | …tools/command/metadata/RocksDBConfigToJsonCommand.java | 323 | System.out.print("Error occurred while converting RocksDB kv config to json, " + "configType=consumerOffsets | CODE |
| LOW | dev/merge_rocketmq_pr.py | 127 | except Exception as e: | CODE |
| LOW | dev/merge_rocketmq_pr.py | 175 | except Exception as e: | CODE |
| LOW | dev/merge_rocketmq_pr.py | 198 | except Exception as e: | CODE |
| LOW | dev/merge_rocketmq_pr.py | 209 | except Exception as e: | CODE |
| LOW | dev/merge_rocketmq_pr.py | 240 | except Exception as e: | CODE |
| MEDIUM | dev/merge_rocketmq_pr.py | 69 | def get_json(url): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java | 489 | // Step 1: Find expired clients and their subscription information | COMMENT |
| LOW⚡ | …rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java | 496 | // Step 2: Remove expired clients and their subscriptions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java | 489 | // Step 1: Find expired clients and their subscription information | COMMENT |
| LOW⚡ | …rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java | 496 | // Step 2: Remove expired clients and their subscriptions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rocketmq/broker/processor/PopLiteMessageProcessor.java | 159 | // we no longer utilize startOffset and msgOffset | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/apache/rocketmq/example/filter/SqlFilterConsumer.java | 34 | // Don't forget to set enablePropertyFilter=true in broker | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/proxy/service/transaction/TransactionDataManager.java | 37 | public class TransactionDataManager implements StartAndShutdown { | CODE |