Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspercliff committed Dec 12, 2024
1 parent ea0e2bd commit 5366d9d
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 10 deletions.
4 changes: 3 additions & 1 deletion docs/java/devTools/idea/自动补全.md
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

22 changes: 22 additions & 0 deletions docs/java/framework/logback/index.md
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>
```

2 changes: 2 additions & 0 deletions docs/java/framework/springcli/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# index

17 changes: 17 additions & 0 deletions docs/java/middleware/rocketmq/basic.md
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
Binary file added docs/java/middleware/rocketmq/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/java/middleware/rocketmq/系统架构.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 系统架构


18 changes: 9 additions & 9 deletions docs/public/latestMdFiles.json
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"
]

0 comments on commit 5366d9d

Please sign in to comment.