Skip to content

Commit ee99208

Browse files
authored
Merge branch 'apache:master' into master
2 parents 2622ba3 + b968873 commit ee99208

File tree

2,090 files changed

+193651
-24253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,090 files changed

+193651
-24253
lines changed

.asf.yaml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
github:
17+
description: "Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications."
18+
homepage: https://rocketmq.apache.org/
19+
labels:
20+
- messaging
21+
- streaming
22+
- eventing
23+
- cloud-native
24+
- rocketmq
25+
- java
26+
- hacktoberfest
27+
enabled_merge_buttons:
28+
# Enable squash button
29+
squash: true
30+
# Disable merge button
31+
merge: false
32+
# Disable rebase button
33+
rebase: false
34+
protected_branches:
35+
master: {}
36+
develop:
37+
required_pull_request_reviews:
38+
dismiss_stale_reviews: true
39+
require_code_owner_reviews: false
40+
required_approving_review_count: 1
41+
required_status_checks:
42+
contexts:
43+
- misspell-check
44+
- check-license
45+
- maven-compile (ubuntu-latest, JDK-8)
46+
- maven-compile (windows-latest, JDK-8)
47+
- maven-compile (macos-latest, JDK-8)
48+
notifications:
49+
50+
51+
pullrequests: [email protected]
52+
53+
discussions: [email protected]

.bazelrc

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
startup --host_jvm_args=-Xmx2g
18+
19+
run --color=yes
20+
21+
build --color=yes
22+
build --enable_platform_specific_config
23+
24+
test --action_env=TEST_TMPDIR=/tmp
25+
26+
test --experimental_strict_java_deps=warn
27+
test --experimental_ui_max_stdouterr_bytes=10485760
28+
build --experimental_strict_java_deps=warn
29+
30+
test --test_output=errors
31+
32+
33+
# This .bazelrc file contains all of the flags required for the provided
34+
# toolchain with Remote Build Execution.
35+
# Note your WORKSPACE must contain an rbe_autoconfig target with
36+
# name="rbe_default" to use these flags as-is.
37+
38+
# Depending on how many machines are in the remote execution instance, setting
39+
# this higher can make builds faster by allowing more jobs to run in parallel.
40+
# Setting it too high can result in jobs that timeout, however, while waiting
41+
# for a remote machine to execute them.
42+
build:remote --jobs=150
43+
44+
build:remote --remote_executor=grpcs://remote.buildbuddy.io
45+
build:remote --host_platform=@buildbuddy_toolchain//:platform
46+
build:remote --platforms=@buildbuddy_toolchain//:platform
47+
build:remote --extra_execution_platforms=@buildbuddy_toolchain//:platform
48+
build:remote --crosstool_top=@buildbuddy_toolchain//:toolchain
49+
build:remote --extra_toolchains=@buildbuddy_toolchain//:cc_toolchain
50+
build:remote --javabase=@buildbuddy_toolchain//:javabase_jdk8
51+
build:remote --host_javabase=@buildbuddy_toolchain//:javabase_jdk8
52+
build:remote --java_toolchain=@buildbuddy_toolchain//:toolchain_jdk8
53+
build:remote --host_java_toolchain=@buildbuddy_toolchain//:toolchain_jdk8
54+
build:remote --define=EXECUTOR=remote
55+
56+
# Enable remote execution so actions are performed on the remote systems.
57+
build:remote --remote_executor=grpcs://remote.buildbuddy.io
58+
59+
# Enforce stricter environment rules, which eliminates some non-hermetic
60+
# behavior and therefore improves both the remote cache hit rate and the
61+
# correctness and repeatability of the build.
62+
build:remote --incompatible_strict_action_env=true
63+
64+
# Set a higher timeout value, just in case.
65+
build:remote --remote_timeout=3600
66+
67+
# Use a pre-configured account, such that we may have pull-request replacing pull-request-target
68+
build:remote --remote_header=x-buildbuddy-api-key=FD819nUEY7WjvqmoufsU
69+
test:remote --remote_header=x-buildbuddy-api-key=FD819nUEY7WjvqmoufsU

.bazelversion

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.2.0

.github/ISSUE_TEMPLATE/bug_report.yml

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
name: Bug Report
19+
title: "[Bug] Bug title "
20+
description: Create a report to help us identify any unintended flaws, errors, or faults.
21+
body:
22+
- type: checkboxes
23+
attributes:
24+
label: Before Creating the Bug Report
25+
options:
26+
- label: >
27+
I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
28+
required: true
29+
- label: >
30+
I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
31+
required: true
32+
- label: >
33+
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
34+
required: true
35+
36+
- type: textarea
37+
attributes:
38+
label: Runtime platform environment
39+
description: Describe the runtime platform environment.
40+
placeholder: >
41+
OS: (e.g., "Ubuntu 20.04")
42+
OS: (e.g., "Windows Server 2019")
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
attributes:
48+
label: RocketMQ version
49+
description: Describe the RocketMQ version.
50+
placeholder: >
51+
branch: (e.g develop|4.9.x)
52+
version: (e.g. 5.1.0|4.9.5)
53+
Git commit id: (e.g. c88b5cfa72e204962929eea105687647146112c6)
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
attributes:
59+
label: JDK Version
60+
description: Run or Compiler version.
61+
placeholder: >
62+
Compiler: (e.g., "Oracle JDK 11.0.17")
63+
OS: (e.g., "Ubuntu 20.04")
64+
Runtime (if different from JDK above): (e.g., "Oracle JRE 8u251")
65+
OS (if different from OS compiled on): (e.g., "Windows Server 2019")
66+
validations:
67+
required: false
68+
69+
- type: textarea
70+
attributes:
71+
label: Describe the Bug
72+
description: Describe what happened.
73+
placeholder: >
74+
A clear and concise description of what the bug is.
75+
validations:
76+
required: true
77+
78+
- type: textarea
79+
attributes:
80+
label: Steps to Reproduce
81+
description: Describe the steps to reproduce the bug here.
82+
placeholder: >
83+
If possible, provide a recipe for reproducing the error.
84+
validations:
85+
required: true
86+
87+
- type: textarea
88+
attributes:
89+
label: What Did You Expect to See?
90+
description: You expect to see result.
91+
placeholder: >
92+
A clear and concise description of what you expected to see.
93+
validations:
94+
required: true
95+
96+
- type: textarea
97+
attributes:
98+
label: What Did You See Instead?
99+
description: You instead to see result.
100+
placeholder: >
101+
A clear and concise description of what you saw instead.
102+
validations:
103+
required: true
104+
105+
- type: textarea
106+
attributes:
107+
label: Additional Context
108+
description: Additional context.
109+
placeholder: >
110+
Add any other context about the problem here.
111+
validations:
112+
required: false

.github/ISSUE_TEMPLATE/config.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
19+
blank_issues_enabled: false
20+
contact_links:
21+
- name: Ask Question
22+
url: https://github.com/apache/rocketmq/discussions
23+
about: Please go to GitHub Disccusions to ask questions

.github/ISSUE_TEMPLATE/doc.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
name: Documentation Related
19+
title: "[Doc] Documentation Related "
20+
description: I find some issues related to the documentation.
21+
labels: [ "module/doc" ]
22+
body:
23+
- type: checkboxes
24+
attributes:
25+
label: Search before creation
26+
description: >
27+
Please make sure to search in the [issues](https://github.com/apache/rocketmq/issues)
28+
first to see whether the same issue was reported already.
29+
options:
30+
- label: >
31+
I had searched in the [issues](https://github.com/apache/rocketmq/issues) and found
32+
no similar issues.
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: Documentation Related
38+
description: Describe the suggestion about document.
39+
placeholder: >
40+
e.g There is a typo
41+
validations:
42+
required: true
43+
44+
- type: checkboxes
45+
attributes:
46+
label: Are you willing to submit PR?
47+
description: >
48+
This is absolutely not required, but we are happy to guide you in the contribution process
49+
especially if you already have a good understanding of how to implement the fix.
50+
options:
51+
- label: Yes I am willing to submit a PR!
52+
53+
- type: markdown
54+
attributes:
55+
value: "Thanks for completing our form!"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
19+
name: Enhancement Request
20+
title: "[Enhancement] Enhancement title"
21+
description: Suggest an enhancement for this project
22+
labels: [ "type/enhancement" ]
23+
body:
24+
- type: checkboxes
25+
attributes:
26+
label: Before Creating the Enhancement Request
27+
description: >
28+
Most of issues should be classified as bug or feature request. An issue should be considered as an enhancement when it proposes improvements to
29+
existing functionality or user experience, without necessarily introducing new features or fixing existing bugs.
30+
options:
31+
- label: >
32+
I have confirmed that this should be classified as an enhancement rather than a bug/feature.
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: Summary
38+
placeholder: >
39+
A clear and concise description of the enhancement you would like to see in the project.
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
attributes:
45+
label: Motivation
46+
placeholder: >
47+
Explain why you believe this enhancement is necessary, and how it benefits the project and community.
48+
Include any specific use cases that you have in mind.
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
attributes:
54+
label: Describe the Solution You'd Like
55+
placeholder: >
56+
Describe the enhancement you propose, detailing the change and implementation steps involved.
57+
If you have multiple solutions, please list them separately.
58+
validations:
59+
required: true
60+
61+
- type: textarea
62+
attributes:
63+
label: Describe Alternatives You've Considered
64+
placeholder: >
65+
List any alternative enhancements or implementations you have considered, and explain why they may not be as effective or appropriate.
66+
validations:
67+
required: true
68+
69+
- type: textarea
70+
attributes:
71+
label: Additional Context
72+
placeholder: >
73+
Add any relevant context, screenshots, prototypes, or other supplementary information to help illustrate the enhancement.
74+
validations:
75+
required: false

0 commit comments

Comments
 (0)