Inconsistency Between Documentation and Code Regarding Default State of enableTopicMessageTypeCheck
- Dominant language
- JavaScript
- Stars
- 66
- Forks
- 262
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 2
Description
The issue tracker is **ONLY** used for bug report and feature request.
Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
**BUG REPORT**
1. Please describe the issue you observed:
These [files](https://github.com/apache/rocketmq-site/pull/549/files ) pr add some document descriptions, one about `enableTopicMessageTypeCheck` false by default.

but this code [ProxyConfig.java](https://github.com/apache/rocketmq/blob/f534501855f8edbcb58f5b856973bf1027b5cf3a/proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java#L124) defaults to true.
```java
private long defaultInvisibleTimeMills = Duration.ofSeconds(60).toMillis();
private long minInvisibleTimeMillsForRecv = Duration.ofSeconds(10).toMillis();
private long maxInvisibleTimeMills = Duration.ofHours(12).toMillis();
private long maxDelayTimeMills = Duration.ofDays(1).toMillis();
private long maxTransactionRecoverySecond = Duration.ofHours(1).getSeconds();
private boolean enableTopicMessageTypeCheck = true;
```
2. Please tell us about your environment:
3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare the documentation changes in rocketmq-site PR #549 with the enableTopicMessageTypeCheck declaration in proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java. Confirm which default is intended, align the documentation or code accordingly, and verify that both sources consistently describe the setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100