-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea0e2bd
commit 5366d9d
Showing
7 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# 自动补全 | ||
|
||
editor.liveTemplate | ||
|
||
- .var | ||
- .nn | ||
- .if | ||
- .null | ||
- list.for | ||
- fori | ||
- .cast | ||
- .cast | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# logback | ||
|
||
|
||
根据不同的环境配置不同的日志记录规则 | ||
|
||
``` xml | ||
<!-- 根据激活的 Profile 应用不同的配置 --> | ||
<springProfile name="dev"> | ||
<logger name="com.example" level="DEBUG"/> | ||
<root level="DEBUG"> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
</springProfile> | ||
|
||
<springProfile name="prod"> | ||
<logger name="com.example" level="INFO"/> | ||
<root level="INFO"> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
</springProfile> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# index | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 基本概念 | ||
|
||
1. 消息 数据 | ||
2. 主题 topic 一类消息的集合 分类 | ||
- 生产者对应多个topic | ||
- 消费者对应一个topic | ||
- 一个message对应一个topic | ||
- 一个topic对应多个message | ||
3. 队列 | ||
- queue 分区 partition | ||
- 一个topic对应多个queue(partition) | ||
4. 分片 | ||
![img.png](img.png) | ||
5. 消息标识 | ||
- msgId | ||
- offsetMsgId | ||
- key |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 系统架构 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[ | ||
"docs/os/linux/utils/rsync.md", | ||
"docs/database/mysql/other.md", | ||
"docs/java/framework/springmvc/index.md", | ||
"docs/java/framework/logback/index.md", | ||
"docs/java/framework/springcli/index.md", | ||
"docs/java/middleware/rocketmq/basic.md", | ||
"docs/java/devTools/buildTools/gradle/index.md", | ||
"docs/java/devTools/buildTools/maven/index.md", | ||
"docs/java/devTools/index.md", | ||
"docs/java/framework/jpa/index.md", | ||
"docs/java/utils/lombok/import.md", | ||
"docs/java/utils/lombok/index.md", | ||
"docs/java/devTools/buildTools/maven/basic.md" | ||
"docs/java/devTools/buildTools/maven/basic.md", | ||
"docs/java/devTools/idea/docker.md", | ||
"docs/java/devTools/idea/index.md", | ||
"docs/java/devTools/idea/plugin.md", | ||
"docs/os/linux/index.md", | ||
"docs/os/linux/utils/rsync.md" | ||
] |