Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Amorous Feelings Public
Rocketmq
提交
61bd4ec1
R
Rocketmq
项目概览
Amorous Feelings Public
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
61bd4ec1
编写于
12月 22, 2016
作者:
W
Willem Jiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added the rat plugin and fixed the issues that rat found
上级
3d28613e
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
152 addition
and
5 deletion
+152
-5
benchmark/consumer.sh
benchmark/consumer.sh
+15
-0
benchmark/producer.sh
benchmark/producer.sh
+14
-0
benchmark/runclass.sh
benchmark/runclass.sh
+14
-0
benchmark/tproducer.sh
benchmark/tproducer.sh
+14
-0
checkstyle/checkstyle.xml
checkstyle/checkstyle.xml
+3
-3
pom.xml
pom.xml
+12
-0
rocketmq-broker/src/main/resources/transaction.sql
rocketmq-broker/src/main/resources/transaction.sql
+18
-0
rocketmq-client/deploy.bat
rocketmq-client/deploy.bat
+16
-1
rocketmq-client/install.bat
rocketmq-client/install.bat
+15
-0
rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt
...alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt
+16
-1
rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt
.../java/com/alibaba/rocketmq/remoting/protocol/protocol.txt
+15
-0
未找到文件。
benchmark/consumer.sh
浏览文件 @
61bd4ec1
#!/bin/sh
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# $Id: consumer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
# $Id: consumer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
#
#
...
...
benchmark/producer.sh
浏览文件 @
61bd4ec1
#!/bin/sh
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
# $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
...
...
benchmark/runclass.sh
浏览文件 @
61bd4ec1
#!/bin/sh
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# $Id: runserver.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
# $Id: runserver.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
...
...
benchmark/tproducer.sh
浏览文件 @
61bd4ec1
#!/bin/sh
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
# $Id: producer.sh 1831 2013-05-16 01:39:51Z shijia.wxr $
...
...
checkstyle/checkstyle.xml
浏览文件 @
61bd4ec1
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<!-- header -->
<!-- header -->
<module
name=
"RegexpHeader"
>
<module
name=
"RegexpHeader"
>
<property
name=
"header"
value=
"/\*\*\nLicensed to the Apache
.
*"
/>
<property
name=
"header"
value=
"/\*\*\nLicensed to the Apache
Software Foundation
*"
/>
</module>
</module>
<module
name=
"RegexpSingleline"
>
<module
name=
"RegexpSingleline"
>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<!--Validates identifiers for non-static fields-->
<!--Validates identifiers for non-static fields-->
<module
name=
"MemberName"
/>
<module
name=
"MemberName"
/>
<!--Validates identifiers for class type parameters-->
<!--Validates identifiers for class type parameters-->
<module
name=
"ClassTypeParameterName"
>
<module
name=
"ClassTypeParameter
:
Name"
>
<property
name=
"format"
value=
"^[A-Z0-9]*$"
/>
<property
name=
"format"
value=
"^[A-Z0-9]*$"
/>
</module>
</module>
<!--Validates identifiers for method type parameters-->
<!--Validates identifiers for method type parameters-->
...
@@ -125,4 +125,4 @@
...
@@ -125,4 +125,4 @@
<module
name=
"ParenPad"
/>
<module
name=
"ParenPad"
/>
<module
name=
"TypecastParenPad"
/>
<module
name=
"TypecastParenPad"
/>
</module>
</module>
</module>
</module>
\ No newline at end of file
pom.xml
浏览文件 @
61bd4ec1
...
@@ -332,6 +332,18 @@
...
@@ -332,6 +332,18 @@
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>
org.apache.rat
</groupId>
<artifactId>
apache-rat-plugin
</artifactId>
<version>
0.12
</version>
<configuration>
<excludes>
<exclude>
.travis.yml
</exclude>
<exclude>
CONTRIBUTING.md
</exclude>
<exclude>
bin/README.md
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<artifactId>
maven-resources-plugin
</artifactId>
<version>
3.0.2
</version>
<version>
3.0.2
</version>
...
...
rocketmq-broker/src/main/resources/transaction.sql
浏览文件 @
61bd4ec1
--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied. See the License for the
-- specific language governing permissions and limitations
-- under the License.
--
CREATE
TABLE
t_transaction
(
CREATE
TABLE
t_transaction
(
offset
NUMERIC
(
20
)
PRIMARY
KEY
,
offset
NUMERIC
(
20
)
PRIMARY
KEY
,
producerGroup
VARCHAR
(
64
)
producerGroup
VARCHAR
(
64
)
...
...
rocketmq-client/deploy.bat
浏览文件 @
61bd4ec1
mvn
-Dmaven
.test.skip
=
true
deploy
-Pclient-shade
REM Licensed to the Apache Software Foundation (ASF) under one or more
\ No newline at end of file
REM contributor license agreements. See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License. You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
mvn
-Dmaven
.test.skip
=
true
deploy
-Pclient-shade
rocketmq-client/install.bat
浏览文件 @
61bd4ec1
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements. See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License. You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
mvn
-Dmaven
.test.skip
=
true
clean
package
install
-Pclient-shade -U
mvn
-Dmaven
.test.skip
=
true
clean
package
install
-Pclient-shade -U
rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.sevialize.txt
浏览文件 @
61bd4ec1
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
//
//
// Remoting protocol V0.1 draft
// Remoting protocol V0.1 draft
//
//
// protocol <length> <header length> <header data> <body data>
// protocol <length> <header length> <header data> <body data>
// 1 2 3 4
// 1 2 3 4
//
//
\ No newline at end of file
rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/protocol/protocol.txt
浏览文件 @
61bd4ec1
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
//
//
// Remoting protocol V0.1 draft
// Remoting protocol V0.1 draft
//
//
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录