From 2c59f8da32e7e2928dedcf96fb141e4674b16354 Mon Sep 17 00:00:00 2001 From: h2pl <362294931@qq.com> Date: 2023年5月31日 00:13:17 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/monitor/Spring Actuator.md | 578 +++++++++++++++++++++++++++++++ docs/monitor/SpringBoot Admin.md | 495 ++++++++++++++++++++++++++ 2 files changed, 1073 insertions(+) create mode 100644 docs/monitor/Spring Actuator.md create mode 100644 docs/monitor/SpringBoot Admin.md diff --git a/docs/monitor/Spring Actuator.md b/docs/monitor/Spring Actuator.md new file mode 100644 index 0000000..a1ee5ef --- /dev/null +++ b/docs/monitor/Spring Actuator.md @@ -0,0 +1,578 @@ +## 念冱 + +壓裏捲暦狼由尺更嶄?捲暦議酌陣頁駅音辛富議。朕念寄謹方裏捲暦哘喘嗽頁児噐Spring Cloud狼双?匆辛參傍頁児噐Spring Boot狼双議。緩扮聞喘Spring Boot Actuator栖序佩裏捲暦議酌陣?音叙孔嬬畠中?遇拝掲械圭宴。 + +壓貧鐙猟嫗ゞ[Spring Boot Actuator鹿撹?佃議頁痩試塰喘?](https://link.juejin.cn?target=https%3A%2F%2Fmp.weixin.qq.com%2Fs%2FBaNQWygQb8UXxktrXetOcw "https://mp.weixin.qq.com/s/BaNQWygQb8UXxktrXetOcw")〃嶄厘断厮将初府阻泌採繍Actuator鹿撹欺Spring Boot?朕嶄?旺拝初府阻泌採徭協吶Endpoint?極泣?。嗤涛嗔藻冱傍音校侮秘?椎担?云鐙猟嫗椿?厘断繍初府Actuator圻伏極泣議孔嬬式児云聞喘魁尚。 + +## Endpoints 初府 + +Actuator嶄侭僚議 Endpoints ?鍬咎葎極泣?戻工阻翌何栖嚥哘喘殻會序佩恵諒才住札議孔嬬。 曳泌傍/health極泣戻工阻哘喘宗慎秤趨議佚連?metrics 極泣戻工阻哘喘殻會議峺炎?JVM 坪贋聞喘、狼由CPU聞喘吉?佚連。 + +Actuator圻伏議極泣辛蛍葎眉寄窃? + +* 哘喘塘崔窃?資函哘喘殻會嶄紗墮議哘喘塘崔、桟廠延楚、徭強晒塘崔烏御吉嚥Spring Boot哘喘畜俳屢購議塘崔窃佚連。 +* 業楚峺炎窃?資函哘喘殻會塰佩狛殻嶄喘噐酌陣議業楚峺炎?曳泌?坪贋佚連、?殻学佚連、HTTP萩箔由柴吉。 +* 荷恬陣崙窃?戻工阻斤哘喘議購液吉荷恬窃孔嬬。 + +音揖井云議Actuator戻工議圻伏極泣嗤侭竃秘?壓聞喘議狛殻嶄恷挫參侭聞喘井云議郊圭猟亀葎彈。揖扮?耽倖圻伏議極泣脅辛參宥狛塘崔栖汽鏡議鋤喘賜尼喘。 + +遇壓Actuator 2.x 嶄潮範極泣奐紗阻/actuator念弸?揖扮潮範峪羽其議曾倖極泣葎/actuator/health才 /actuator/info。購噐極泣羽其議塘崔?辛歌深念匯鐙猟嫗。和中児噐Spring Boot 2.2.2.RELEASE井云栖嶷泣讐盾耽倖極泣議孔嬬才哘喘魁尚。 + +## actuator極泣 + +Actuator 2.x仟奐議潮範極泣?喘噐婢幣朕念哘喘嶄羽其竃栖議極泣祉悳?低辛參尖盾葎辛喘極泣議朕村。 + +恵諒URL?[http://localhost:8080/actuator](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator "http://localhost:8080/actuator") ?斤哘婢幣潤惚泌和夕? + +![image-20230530233537559](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233537559.png) + +貧峰峪婢幣阻匯何蛍議極泣?卦指潤惚葎?宸戦寡喘阻箝誓匂議峨周-Handler序佩阻鯉塀胆晒。宥狛actuator辛參岷鉱議心竃朕念蝕慧阻陳乂極泣?參式宸乂極泣議兆各才萩箔揃抄。 + +和中厘断祥梓孚?塋?actuator極泣婢幣議双燕幟匯初府。 + +## auditevents極泣 + +auditevents極泣喘噐?塋肖τ単Ë教追鷦栃村? (曳泌範屬序秘、匡汽払移)?軸聞厘断嬉蝕阻侭嗤極泣?潮範秤趨和匆頁心音欺宸倖極泣議。咀葎聞喘万議念戻頁俶勣壓Spring否匂嶄贋壓匯倖窃侏葎AuditEventRepository議Bean議。 + +臥心阻利大貧寄謹方縮殻?児云貧脅頁初府阻auditevents極泣孔嬬?遇隆婢幣醤悶糞箭。永宀将狛謹圭晦編?嶮噐公寄社亟阻匯倖宛箭竃栖。 + +遍枠膚式欺幡尫範屬?俶勣枠哈秘spring-boot-starter-security卆正? + +```` + + org.springframework.boot + spring-boot-starter-security +` +```` + +汽歓耶紗宸倖卆正珊頁音校議?珊俶勣紗秘security議塘崔?音隼AuthorizationAuditListener,AuthenticationAuditListener 酌油焚担並周椿? 咀緩,厘断紗秘泌和旗鷹? + + +```` +@Configuration +public class WebSecurityConfig extends WebSecurityConfigurerAdapter { + + @Override + protected void configure(AuthenticationManagerBuilder auth) throws Exception { + + auth.inMemoryAuthentication() + .withUser("admin") + .password(bcryptPasswordEncoder().encode("admin")) + .roles("admin"); + } +```` + +```` + @Bean + public PasswordEncoder bcryptPasswordEncoder() { + return new BCryptPasswordEncoder(); + } +} +```` + +宸戦寡喘阻security潮範議鞠村順中才幡尫陣崙?匆祥頁傍侭嗤議恵諒脅俶勣序佩鞠村。遇鞠村議喘薩兆才畜鷹譲葎admin。 + +総翌?念中戻欺俶勣喘欺AuditEventRepository議Bean?宸戦兜兵晒匯倖斤哘議Bean? + + + + +```` +@Configuration +public class AuditEventConfig { + + @Bean + public InMemoryAuditEventRepository repository(){ + return new InMemoryAuditEventRepository(); + } +} +```` + +InMemoryAuditEventRepository頁AuditEventRepository俊笥議率匯糞孖窃。 + +嶷尼?朕?auditevents極泣宴辛喘阻。恵諒[http://localhost:8080/actuator](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator "http://localhost:8080/actuator") ,緩扮氏柳廬欺Security戻工議鞠村匈中? + +![image-20230530233604253](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233604253.png) + +補秘旗鷹嶄峺協議喘薩兆才畜鷹?鞠村撹孔?柳廬欺/actuator匈中? + +![image-20230530233625068](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233625068.png) + +辛參心欺auditevents極泣厮将撹孔?塋廠歆漢法P多ň鈎羞知?[http://localhost:8080/actuator/auditevents](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fauditevents "http://localhost:8080/actuator/auditevents") ?婢幣坪否泌和? + +![image-20230530233716752](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233716752.png) + +辛參心欺厮将芝村和阻幡尫屢購議並周?凪嶄及匯肝並周頁厘断岷俊恵諒actuator極泣扮?喇噐岻念葎恂幡尫範寔?侭參並周窃侏葎"AUTHORIZATION_FAILURE"?匆祥頁範屬払移。緩扮柳廬欺鞠村匈中?隼朔壓鞠村匈中補秘喘薩兆才畜鷹?鞠村撹孔?斤哘議並周葎"AUTHENTICATION_SUCCESS"。 + +匆祥頁傍auditevents芝村阻喘薩範屬鞠村狼由屢購議並周佚連?淫凄扮寂漢、範屬喘薩、並周窃侏、恵諒仇峽、sessionId吉。 + +幣箭坿鷹仇峽?[github.com/secbr/sprin ?](https://link.juejin.cn?target=https%3A%2F%2Fgithub.com%2Fsecbr%2Fspringboot-all%2Ftree%2Fmaster%2Fspringboot-actuator-auditevents "https://github.com/secbr/springboot-all/tree/master/springboot-actuator-auditevents") 。 + +## beans極泣 + +/beans極泣氏卦指Spring否匂嶄侭嗤bean議艶兆、窃侏、頁倦汽箭、卆正吉佚連。 + +恵諒揃抄葎[http://localhost:8080/actuator/beans](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fbeans "http://localhost:8080/actuator/beans") ?袈律潤惚泌和? + +![image-20230530233748286](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233748286.png) + +宸倖極泣氏婢幣朕念Spring否匂嶄兜兵晒議侭嗤Bean?編?匯和?泌惚低塘崔阻匯倖Bean?徽音鳩協頁倦撹孔糞箭晒?頁音頁祥辛參宥狛宸倖極笥臥儂匯和椿? + +厘断壓?朕嶄協吶匯倖TestController?旺廣秘匯倖UserService? + + +```` +@Controller +public class TestController { + + @Resource + private UserService userService; +} +```` + +嶷仟尼強旺恵諒乎極泣?氏心欺泌和佚連? + +![image-20230530233805161](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233805161.png) + +辛參心欺TestController瓜糞箭晒阻?遇拝卆正噐UserService。 + +## caches極泣 + +caches極泣麼勣喘噐羽其哘喘殻會嶄議産喝。宸戦參Spring Boot戻工議Cache怏周栖婢幣匯和糞箭。 + +壓?朕嶄鹿撹spring-boot-starter-cache?哈秘卆正? + + +```` + + org.springframework.boot + spring-boot-starter-cache + +```` + +隼朔壓尼強窃貧耶紗@EnableCaching?蝕尼産贋孔嬬。 + +協吶匯倖CacheController?斤凪圭隈queryAll聞喘産贋字崙? + + +```` +@RestController +public class CacheController { + + @RequestMapping("/queryAll") + @Cacheable(value = "queryAll") + public Map queryAll() { + Map map = new HashMap(); + map.put("1", "Tom"); + map.put("2", "Steven"); + return map; + } +} +```` + +宸戦聞喘@Cacheable廣盾栖糞孖産贋孔嬬?産贋議key葎queryAll。緩扮?恵諒[http://localhost:8080/actuator/caches](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fcaches "http://localhost:8080/actuator/caches") ?氏婢幣産贋議功坪否?徽戦中旺短嗤産贋。 + +恵諒匯和[http://localhost:8080/queryAll](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2FqueryAll "http://localhost:8080/queryAll") ?匆祥頁乾窟匯和産贋坪否議伏撹。緩扮壅恵諒貧中議全俊?宴辛參心欺哘喘殻會嶄議産贋佚連阻? + +![image-20230530233852486](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233852486.png) + +辛參心欺?卦指議坪否音叙婢幣阻哘喘殻會議産贋砿尖匂?揖扮匆婢幣阻産贋議Key才産贋方象贋刈窃侏佚連。 + +## caches-cache極泣 + +caches-cache極泣頁斤貧中caches極泣議制婢?caches極泣婢幣議侭嗤議産贋佚連。泌惚?岷俊心竃醤悶議匯倖産贋佚連?夸辛參聞喘caches-cache極泣。 + +恵諒議URL葎?[http://localhost:8080/actuator/caches/{cache}](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fcaches%2F%257Bcache%257D "http://localhost:8080/actuator/caches/%7Bcache%7D") ?凪嶄寄凄催坪議峙辛參紋算葎産贋議key。 + + + + +`http://localhost:8080/actuator/caches/queryAll` + +繍貧中議媼了憲算撹queryAll?産贋議key??峇佩潤惚泌和? + +![image-20230530233906164](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233906164.png) + +辛參心竃?峪臥儂茅阻峺協議産贋佚連?淫凄産贋砿尖匂、産贋兆各?key??産贋議贋刈窃侏。 + +## health極泣 + +health極泣喘栖殊臥哘喘議塰佩彜蓑?恷互撞聞喘議匯倖極泣。殊臥哘喘糞箭議塰佩彜蓑參式哘喘音 ?宗慎^議圻咀?曳泌方象垂銭俊、甘徒腎寂音校吉。 + +恵諒仇峽?[http://localhost:8080/actuator/health](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fhealth "http://localhost:8080/actuator/health") + +婢幣潤惚? + +`{ +"status": "UP" +}` + +貧中議糞箭狛噐酒汽?壓?朕嶄委方象垂公鹿撹序肇? + +` + +```` + + org.springframework.boot + spring-boot-starter-jdbc + + + mysql + mysql-connector-java +` +```` + +隼朔壓application塘崔猟周嶄序佩塘崔? + + + +``` +spring: + datasource: + url: jdbc:mysql://xxx:3333/xxx?characterEncoding=utf8&serverTimezone=Asia/Shanghai + username: root + password: root + driver-class-name: com.mysql.cj.jdbc.Driver +``` + +揖扮?厘断勣壓application塘崔猟周嶄塘崔匯和management.endpoint.health.show-details議峙。乎奉來嗤眉倖辛僉?? + +* never ?音婢幣峋聾佚連?up 賜宀 down 議彜蓑?潮範塘崔? +* when-authorized?峋聾佚連繍氏婢幣公宥狛範屬議喘薩。娩幡議叔弼辛參宥狛management.endpoint.health.roles 塘崔? +* always?斤侭嗤喘薩羽其峋聾佚連。 + +潮範峙頁never?侭參厘断岷俊恵諒心欺議峪嗤UP賜DOWN。孖壓鹿撹阻方象垂?揖扮委乎?峙塘崔葎always?心匯和峋秤? + +![image-20230530233934501](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233934501.png) + +辛參心欺屁悶彜蓑葎UP?凪嶄和中議眉倖怏周譲葎UP?遇方象垂頁MYSQL?殊臥方象垂議囂鞘葎^SELECT 1 ?。揖扮?珊婢幣阻甘徒佚連才ping議彜蓑。 + +孖壓厘断委方象垂議喘薩兆才畜鷹絞吭個危?嶷尼恵諒辛誼? + +![image-20230530233951145](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530233951145.png) + +彜蓑葎DOWN?怏周嶄db竃孖阻諒籾?彜蓑葎DOWN。諒籾議峋秤壓error嶄婢幣?辛參心竃頁秀羨銭俊扮竃危阻。壓糞樹嶄?厘断辛參宥狛health極笥酌陣方象垂、Redis、MongoDB、甘徒吉宗慎秤趨。Actuator圓協吶議侃尖窃葎?DataSourceHealthIndicator, DiskSpaceHealthIndicator, MongoHealthIndicator, RedisHealthIndicator吉。 + +遇拝耽倖峺炎脅辛參汽鏡議序佩蝕尼才購液?參方象垂議葎箭? + + +```` +management: + health: + db: + enabled: true` +```` + +## info極泣 + +/info 極泣喘栖臥心塘崔猟周 application嶄參info蝕遊議塘崔佚連?潮範秤趨和 application嶄旺短嗤 info 准泣塘崔?侭參潮範葎腎。 + +application嶄耶紗泌和塘崔? + + + +```` +info: + user: + type: 巷巉催 + name: 殻會仟篇順 + wechat: zhuan2quan +```` + +恵諒[http://localhost:8080/actuator/info](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Finfo "http://localhost:8080/actuator/info") ?婢幣潤惚泌和? + +![image-20230530234019487](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234019487.png) + +## conditions極泣 + +Spring Boot戻工阻徭強塘崔孔嬬?聞喘軟栖掲械圭宴。徽宸乂徭強塘崔窃頁焚担秤趨和伏丼議?頁倦伏丼頁曳熟佃電臥議。緩扮?辛參聞喘 conditions 壓哘喘塰佩扮臥心蝶倖塘崔窃壓焚担訳周和伏丼?賜葎焚担短嗤伏丼。 + +恵諒URL?[http://localhost:8080/actuator/conditions](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fconditions "http://localhost:8080/actuator/conditions") ?何蛍卦指佚連泌和? + +![image-20230530234053134](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234053134.png) + +辛參心欺蝶倖徭強塘崔窃斤哘議伏丼訳周才戻幣佚連。 + +## shutdown極泣 + +shutdown極泣奉噐荷恬陣崙窃極泣?辛參單囘購液 Spring Boot 哘喘。俶勣壓塘崔猟周嶄蝕尼? + + +```` +management: + endpoint: + shutdown: + enabled: true +```` + +乎極泣峪屶隔POST萩箔?峇佩凋綜式卦指潤惚泌和? + + +``` +curl -X POST "http://localhost:8080/actuator/shutdown" +{ + "message": "Shutting down, bye..." +} +``` + +峇佩岻朔?氏窟孖哘喘殻會厮将瓜購液阻。喇噐乎極泣氏購液哘喘殻會?咀緩聞喘頁俶勣弌伉。 + +## configprops極泣 + +壓Spring Boot?朕嶄?厘断将械氏喘欺@ConfigurationProperties廣盾栖答楚廣秘匯乂奉來?遇configprops極泣祥頁喘栖?塋蒋睾o燦致⊇皹袗?津籌胆燹? + +曳泌念中議info塘崔?厘断祥辛參協吶匯倖窃InfoProperties? + + +```` +@Component +@ConfigurationProperties(prefix = "info") +public class InfoProperties { + + private String type; + + private String name; + + private String wechat; + + // 福待getter/setter +} +```` + +恵諒URL?[http://localhost:8080/actuator/configprops](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fconfigprops "http://localhost:8080/actuator/configprops") ?何蛍佚連泌和? + +![image-20230530234110515](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234110515.png) + +音叙辛參心欺狼由嶄潮範鹿撹議塘崔窃佚連?珊辛參心欺厘断徭協吶議塘崔窃佚連。宸戦俶勣廣吭議頁斤哘議窃俶勣序佩糞箭晒?@Component?宸戦嘉嬬校心欺。 + +厘断徭協吶議窃嶄卦指阻Bean議兆各、塘崔念弸。貧中議ProjectInfoProperties珊卦指阻奉來佚連。 + +## env極泣 + +env極泣喘噐資函畠何桟廠奉來?淫凄application塘崔猟周嶄議坪否、狼由延楚吉。 + +恵諒URL?[http://localhost:8080/actuator/env?卦指何蛍佚連?](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fenv%25EF%25BC%258C%25E8%25BF%2594%25E5%259B%259E%25E9%2583%25A8%25E5%2588%2586%25E4%25BF%25A1%25E6%2581%25AF%25EF%25BC%259A "http://localhost:8080/actuator/env%EF%BC%8C%E8%BF%94%E5%9B%9E%E9%83%A8%E5%88%86%E4%BF%A1%E6%81%AF%EF%BC%9A") + +![image-20230530234200949](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234200949.png) + +## env-toMatch極泣 + +env-toMatch極泣嚥caches才caches-cache窃貌?匯倖頁資函侭嗤議?匯倖頁資函峺協議。宸戦議env-toMatch極泣頁資函峺協key議桟廠延楚奉來。 + +児云鯉塀葎?[http://localhost:8080/actuator/env/{toMatch}。](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fenv%2F%257BtoMatch%257D%25E3%2580%2582 "http://localhost:8080/actuator/env/%7BtoMatch%7D%E3%80%82") 糞箭URL?[http://localhost:8080/actuator/env/info.user.name](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fenv%2Finfo.user.name "http://localhost:8080/actuator/env/info.user.name") ?卦指潤惚泌和夕? + +![image-20230530234238073](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234238073.png) + +卦指方象佚連淫凄乎奉來議栖坿、value峙吉佚連。 + +## loggers極泣 + +/loggers 極泣羽其阻殻會坪何塘崔議侭嗤 logger 議佚連?淫凄音揖議package、音揖議窃議晩崗雫艶佚連。 + +恵諒URL?[http://localhost:8080/actuator/loggers](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Floggers "http://localhost:8080/actuator/loggers") ?何蛍卦指潤惚? + +![image-20230530234301625](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234301625.png) + +## loggers-name極泣 + +loggers-name極泣匆頁logger極泣議聾蛍?辛參宥狛name恵諒蝶匯倖logger。 + +児云萩箔鯉塀?[http://localhost:8080/actuator/loggers/{name}](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Floggers%2F%257Bname%257D "http://localhost:8080/actuator/loggers/%7Bname%7D") 幣箭萩箔URL?[http://localhost:8080/actuator/loggers/com.secbro2.SpringbootActuatorApplication](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Floggers%2Fcom.secbro2.SpringbootActuatorApplication "http://localhost:8080/actuator/loggers/com.secbro2.SpringbootActuatorApplication") ?卦指潤惚泌和? + + + +`{ +"configuredLevel": null, +"effectiveLevel": "INFO" +}` + +辛參心竃?尼強窃議晩崗雫艶葎INFO。 + +## heapdump極泣 + +heapdump極泣氏卦指匯倖JVM 均dump?宥狛JVM徭揮議酌陣垢醤VisualVM辛嬉蝕緩猟周臥心坪贋酔孚。宸頁坪贋單晒?児噐均媚蚊中序佩電臥議旋匂。 + +恵諒URL?[http://localhost:8080/actuator/heapdump](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fheapdump "http://localhost:8080/actuator/heapdump") 。Mac荷恬狼由和箝誓匂恵諒氏和墮匯倖兆忖葎heapdump議猟周?涙朔弸?30M。 + +凋綜佩峇佩jvisualvm凋綜?嬉蝕VisualVM?卆肝泣似^猟周 ?、^廾秘 ??芝誼猟周窃侏勣僉夲^均Dump(_.hprof,_.*) ??隼朔僉夲heapdump。 + +![image-20230530234346098](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234346098.png) + +緩扮宴辛參宥狛垢醤栖序佩均媚佚連議蛍裂阻。斤噐?貧諒籾議蛍裂戻工阻自葎宴旋議圭塀。 + +## threaddump極泣 + +/threaddump 極泣氏伏撹輝念?殻試強議酔孚。壓晩械協了諒籾議扮昨臥心?殻議秤趨掲械嗤喘?麼勣婢幣阻?殻兆、?殻ID、?殻議彜蓑、頁倦吉棋迄彿坿吉佚連。 + +恵諒URL?[http://localhost:8080/actuator/threaddump](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fthreaddump "http://localhost:8080/actuator/threaddump") ?何蛍卦指潤惚? + +![image-20230530234405331](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234405331.png) + +厘断辛宥狛?殻酔孚栖電臥伏恢桟廠議諒籾。 + +## metrics極泣 + +/metrics 極泣喘栖羽其輝念哘喘議光窃嶷勣業楚峺炎?曳泌?坪贋佚連、?殻佚連、征侍指辺佚連、tomcat、方象垂銭俊学吉。2.x井云宸戦峪?塋樵牧燦沅険蟲珍弍蹇? + +恵諒URL?[http://localhost:8080/actuator/metrics](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fmetrics "http://localhost:8080/actuator/metrics") 。 + +```` +{ + "names": [ + "jvm.memory.max", + "jvm.threads.states", + "jvm.gc.pause", + "http.server.requests", + "process.files.max", + "jvm.gc.memory.promoted", + "system.load.average.1m", + "jvm.memory.used", + "jvm.gc.max.data.size", + "jvm.memory.committed", + "system.cpu.count", + "logback.events", + "jvm.buffer.memory.used", + "tomcat.sessions.created", + "jvm.threads.daemon", + "system.cpu.usage", + "jvm.gc.memory.allocated", + "tomcat.sessions.expired", + "jvm.threads.live", + "jvm.threads.peak", + "process.uptime", + "tomcat.sessions.rejected", + "process.cpu.usage", + "jvm.classes.loaded", + "jvm.classes.unloaded", + "tomcat.sessions.active.current", + "tomcat.sessions.alive.max", + "jvm.gc.live.data.size", + "process.files.open", + "jvm.buffer.count", + "jvm.buffer.total.capacity", + "tomcat.sessions.active.max", + "process.start.time" + ] +} +```` + +/metrics極泣辛參戻工哘喘塰佩彜蓑議頼屁業楚峺炎烏御?宸?孔嬬掲械議糞喘?徽頁斤噐酌陣狼由嶄議光?酌陣孔嬬?万断議酌陣坪否、方象辺鹿撞楕脅嗤侭音揖?泌惚厘断耽肝脅宥狛畠楚資函烏御議圭塀栖辺鹿?待?坿岷9ドル抃述科膿苗槓粘τ擺坊獣羌朕実韮t?Spring Boot 2.x岻朔?/metrics極泣峪?塋樵勃険蟲珍弍蹇? + +泌惚俶勣臥心醤悶議蝶?峺炎?夸辛宥狛/metrics-requiredMetricName極泣栖糞孖。 + +## metrics-requiredMetricName極泣 + +metrics-requiredMetricName極泣?喘噐恵諒峺協峺炎議烏御?匯違氏塘栽/metrics極泣枠臥竃峺炎双燕?隼朔壅臥儂醤悶議蝶倖峺炎。 + +児云鯉塀?[http://localhost:8080/actuator/metrics/{requiredMetricName}。](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fmetrics%2F%257BrequiredMetricName%257D%25E3%2580%2582 "http://localhost:8080/actuator/metrics/%7BrequiredMetricName%7D%E3%80%82") 糞箭URL?[http://localhost:8080/actuator/metrics/jvm.memory.max](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fmetrics%2Fjvm.memory.max "http://localhost:8080/actuator/metrics/jvm.memory.max") ?卦指潤惚泌和? + + +```` +{ + "name": "jvm.memory.max", + "description": "The maximum amount of memory in bytes that can be used for memory management", + "baseUnit": "bytes", + "measurements": [ + { + "statistic": "VALUE", + "value": 5606211583 + } + ], + "availableTags": [ + { + "tag": "area", + "values": [ + "heap", + "nonheap" + ] + }, + { + "tag": "id", + "values": [ + "Compressed Class Space", + "PS Survivor Space", + "PS Old Gen", + "Metaspace", + "PS Eden Space", + "Code Cache" + ] + } + ] +} +```` + +貧峰潤惚婢幣阻恷寄辛喘坪贋議秤趨。凪麿屢購峺炎議婢幣紋算斤哘議兆忖序佩臥心軸辛。 + +## scheduledtasks極泣 + +/scheduledtasks極泣喘噐婢幣哘喘嶄議協扮販暦佚連。 + +枠壓?朕嶄更秀曾倖協扮販暦?遍枠壓尼強窃貧耶紗@EnableScheduling蝕尼協扮販暦孔嬬。隼朔幹秀協扮販暦窃? + +```` +@Component +public class MyTask { + + @Scheduled(cron = "0/10 * * * * *") + public void work() { + System.out.println("I am a cron job."); + } + + @Scheduled(fixedDelay = 10000) + public void work1() { + System.out.println("I am a fixedDelay job."); + } +} +```` + +凪嶄協吶阻曾嶽窃侏議協扮販暦?work頁児噐cron糞孖議協扮販暦?work1頁児噐fixedDelay糞孖議協扮販暦。 + +恵諒URL?[http://localhost:8080/actuator/scheduledtasks](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fscheduledtasks "http://localhost:8080/actuator/scheduledtasks") ?卦指潤惚佚連泌和? + +``` +{ + "cron": [ + { + "runnable": { + "target": "com.secbro2.job.MyTask.work" + }, + "expression": "0/10 * * * * *" + } + ], + "fixedDelay": [ + { + "runnable": { + "target": "com.secbro2.job.MyTask.work1" + }, + "initialDelay": 0, + "interval": 10000 + } + ], + "fixedRate": [], + "custom": [] +} +``` + +辛參心欺?宥狛乎極泣辛參苧鳩議岑祇輝念哘喘嶄協吶議協扮販暦?參式峇佩庁塀才撞肝。 + +## mappings極泣 + +/mappings極泣喘噐宙峰畠何議 URI 揃抄?參式才陣崙匂議啌符購狼。宸倖孔嬬麻頁曳熟械喘議阻?泌惚?狼由議臥心URL斤哘議Controller式圭隈?辛參聞喘緩極泣。 + +恵諒URL?[http://localhost:8080/actuator/mappings](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8080%2Factuator%2Fmappings "http://localhost:8080/actuator/mappings") ?何蛍卦指潤惚泌和? + +![image-20230530234501440](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230530234501440.png) + +崛緩購噐Spring Boot Actuator戻工議侭嗤極泣初府頼穎。 + +## 弌潤 + +云猟宥狛斤Spring Boot Actuator戻工侭嗤極泣更秀糞箭旺處幣潤惚?云猟寄謹方坪否才糞箭脅頁畠利及匯返彿創。乎崇尺斤電臥?貧諒籾?來嬬單晒吉脅嗤自寄議逸廁。遇壓亟云猟議狛殻嶄匆埆栖埆妾名Actuator議孔嬬岻膿寄?膿倉容呪喘軟栖。 + +## 歌深全俊 + +恬宀?殻會仟篇順 +全俊?https://juejin.cn/post/6984550846876876814 +栖坿?蓮輿条署 +广恬幡拷恬宀侭嗤。斌匍廬墮萩選狼恬宀資誼娩幡?掲斌匍廬墮萩廣苧竃侃。 + diff --git a/docs/monitor/SpringBoot Admin.md b/docs/monitor/SpringBoot Admin.md new file mode 100644 index 0000000..7b0c8ab --- /dev/null +++ b/docs/monitor/SpringBoot Admin.md @@ -0,0 +1,495 @@ +## 姜勣 + +Spring Boot Admin 辛參斤SpringBoot哘喘議光?峺炎序佩酌陣?辛參恬葎裏捲暦尺更嶄議酌陣嶄伉栖聞喘?云猟繍斤凪喘隈序佩峋聾初府。 + +## Spring Boot Admin 酒初 + +SpringBoot哘喘辛參宥狛Actuator栖羽其哘喘塰佩狛殻嶄議光?峺炎?Spring Boot Admin宥狛宸乂峺炎栖酌陣SpringBoot哘喘?隼朔宥狛夕侘晒順中格孖竃栖。Spring Boot Admin音叙辛參酌陣汽悶哘喘?珊辛參才Spring Cloud議廣過嶄伉屢潤栽栖酌陣裏捲暦哘喘。 + +Spring Boot Admin 辛參戻工哘喘議參和酌陣佚連? + +* 酌陣哘喘塰佩狛殻嶄議古誓佚連? +* 業楚峺炎佚連?曳泌JVM、Tomcat式序殻佚連? +* 桟廠延楚佚連?曳泌狼由奉來、狼由桟廠延楚參式哘喘塘崔佚連? +* 臥心侭嗤幹秀議Bean佚連? +* 臥心哘喘嶄議侭嗤塘崔佚連? +* 臥心哘喘塰佩晩崗佚連? +* 臥心JVM佚連? +* 臥心辛參恵諒議Web極泣? +* 臥心HTTP効忸佚連。 + +## 幹秀admin-server庁翠 + +> 宸戦厘断幹秀匯倖admin-server庁翠栖恬葎酌陣嶄伉處幣凪孔嬬。 + +* 壓pom.xml嶄耶紗屢購卆正? + + + + + +```` + + org.springframework.boot + spring-boot-starter-web + + + de.codecentric + spring-boot-admin-starter-server + + +```` + +* 壓application.yml嶄序佩塘崔? + + + + + +````spring: + application: + name: admin-server +server: + port: 9301 +```` + +* 壓尼強窃貧耶紗@EnableAdminServer栖尼喘admin-server孔嬬? + + + + +```` +@EnableAdminServer +@SpringBootApplication +public class AdminServerApplication { + + public static void main(String[] args) { + SpringApplication.run(AdminServerApplication.class, args); + } + +} +```` + +## 幹秀admin-client庁翠 + +> 宸戦厘断幹秀匯倖admin-client庁翠恬葎人薩極廣過欺admin-server。 + +* 壓pom.xml嶄耶紗屢購卆正? + + + +```` + + org.springframework.boot + spring-boot-starter-web + + + de.codecentric + spring-boot-admin-starter-client + +```` + +* 壓application.yml嶄序佩塘崔? + + + + + + + + +``` +spring: + application: + name: admin-client + boot: + admin: + client: + url: http://localhost:9301 #塘崔admin-server仇峽 +server: + port: 9305 +management: + endpoints: + web: + exposure: + include: '*' + endpoint: + health: + show-details: always +logging: + file: admin-client.log #耶紗蝕尼admin議晩崗酌陣 +``` + +* 尼強admin-server才admin-client捲暦。 + +## 酌陣佚連處幣 + +* 恵諒泌和仇峽嬉蝕Spring Boot Admin議麼匈?[http://localhost:9301](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A9301 "http://localhost:9301") + +![image-20230531001002163](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001002163.png) + + + + + +* 泣似wallboard梓泥?僉夲admin-client臥心酌陣佚連? + +* 酌陣佚連古誓? + +![image-20230531001023644](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001023644.png) + + + + + +* 業楚峺炎佚連?曳泌JVM、Tomcat式序殻佚連? + +![image-20230531001053279](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001053279.png) + + + + + +* 桟廠延楚佚連?曳泌狼由奉來、狼由桟廠延楚參式哘喘塘崔佚連? + +![image-20230531001103093](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001103093.png) + + + + + +* 臥心侭嗤幹秀議Bean佚連? + +![image-20230531001111221](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001111221.png) + + + + + +* 臥心哘喘嶄議侭嗤塘崔佚連? + +![image-20230531001124678](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001124678.png) + + + + + +* 臥心晩崗佚連?俶勣耶紗參和塘崔嘉嬬蝕尼? + + + +`logging: +file: admin-client.log #耶紗蝕尼admin議晩崗酌陣` + +![image-20230531001136184](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001136184.png) + + + + +* 臥心JVM佚連? + +![image-20230531001144614](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001144614.png) + + + + + +* 臥心辛參恵諒議Web極泣? + +![image-20230531001156191](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001156191.png) + + + + + +* 臥心HTTP効忸佚連? + +![image-20230531001206364](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001206364.png) + + + + + +## 潤栽廣過嶄伉聞喘 + +> Spring Boot Admin潤栽Spring Cloud 廣過嶄伉聞喘?峪俶繍admin-server才廣過嶄伉屁栽軸辛?admin-server 氏徭強貫廣過嶄伉資函捲暦双燕?隼朔阿倖資函酌陣佚連。宸戦參Eureka廣過嶄伉葎箭栖初府和乎孔嬬。 + +### 俐個admin-server + +* 壓pom.xml嶄耶紗屢購卆正? + + + + +```` + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + +```` + +* 壓application-eureka.yml嶄序佩塘崔?峪俶耶紗廣過嶄伉塘崔軸辛? + + + + +```` +spring: + application: + name: admin-server +server: + port: 9301 +eureka: + client: + register-with-eureka: true + fetch-registry: true + service-url: + defaultZone: http://localhost:8001/eureka/ +```` + +* 壓尼強窃貧耶紗@EnableDiscoveryClient栖尼喘捲暦廣過孔嬬? + + + + + +```` +`@EnableDiscoveryClient +@EnableAdminServer +@SpringBootApplication +public class AdminServerApplication { + + public static void main(String[] args) { + SpringApplication.run(AdminServerApplication.class, args); + } + +} +```` + +### 俐個admin-client + +* 壓pom.xml嶄耶紗屢購卆正? + + + +```` + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + +```` + +* 壓application-eureka.yml嶄序佩塘崔?評茅圻栖議admin-server仇峽塘崔?耶紗廣過嶄伉塘崔軸辛? + + + + + +``` +spring: + application: + name: admin-client +server: + port: 9305 +management: + endpoints: + web: + exposure: + include: '*' + endpoint: + health: + show-details: always +logging: + file: admin-client.log #耶紗蝕尼admin議晩崗酌陣 +eureka: + client: + register-with-eureka: true + fetch-registry: true + service-url: + defaultZone: http://localhost:8001/eureka/ +``` + +* 壓尼強窃貧耶紗@EnableDiscoveryClient栖尼喘捲暦廣過孔嬬? + + + + + +``` +@EnableDiscoveryClient +@SpringBootApplication +public class AdminClientApplication { + + public static void main(String[] args) { + SpringApplication.run(AdminClientApplication.class, args); + } + +} +``` + +### 孔嬬處幣 + +* 尼強eureka-server?聞喘application-eureka.yml塘崔尼強admin-server?admin-client? + +* 臥心廣過嶄伉窟孖捲暦譲厮廣過?[http://localhost:8001/](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A8001%2F "http://localhost:8001/") + +![image-20230531001221519](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001221519.png) + + +* 臥心Spring Boot Admin 麼匈窟孖辛參心欺捲暦佚連?[http://localhost:9301](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A9301 "http://localhost:9301") + +![image-20230531001232048](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001232048.png) + + +## 耶紗鞠村範屬 + +> 厘断辛參宥狛公admin-server耶紗Spring Security屶隔栖資誼鞠村範屬孔嬬。 + +### 幹秀admin-security-server庁翠 + +* 壓pom.xml嶄耶紗屢購卆正? + + + +``` + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + + + de.codecentric + spring-boot-admin-starter-server + 2.1.5 + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-web + +``` + +* 壓application.yml嶄序佩塘崔?塘崔鞠村喘薩兆才畜鷹?策待admin-security-server議酌陣佚連? + + + + + +``` +spring: + application: + name: admin-security-server + security: # 塘崔鞠村喘薩兆才畜鷹 + user: + name: macro + password: 123456 + boot: # 音?塋?admin-security-server議酌陣佚連 + admin: + discovery: + ignored-services: ${spring.application.name} +server: + port: 9301 +eureka: + client: + register-with-eureka: true + fetch-registry: true + service-url: + defaultZone: http://localhost:8001/eureka/ +``` + +* 斤SpringSecurity序佩塘崔?參宴admin-client辛參廣過? + + + + + +scss + +鹸崙旗鷹 + + + + + +``` +/** + * Created by macro on 2019年9月30日. + */ +@Configuration +public class SecuritySecureConfig extends WebSecurityConfigurerAdapter { + private final String adminContextPath; + + public SecuritySecureConfig(AdminServerProperties adminServerProperties) { + this.adminContextPath = adminServerProperties.getContextPath(); + } + + @Override + protected void configure(HttpSecurity http) throws Exception { + SavedRequestAwareAuthenticationSuccessHandler successHandler = new SavedRequestAwareAuthenticationSuccessHandler(); + successHandler.setTargetUrlParameter("redirectTo"); + successHandler.setDefaultTargetUrl(adminContextPath + "/"); + + http.authorizeRequests() + //1.塘崔侭嗤床蓑彿坿才鞠村匈辛參巷蝕恵諒 + .antMatchers(adminContextPath + "/assets/**").permitAll() + .antMatchers(adminContextPath + "/login").permitAll() + .anyRequest().authenticated() + .and() + //2.塘崔鞠村才鞠竃揃抄 + .formLogin().loginPage(adminContextPath + "/login").successHandler(successHandler).and() + .logout().logoutUrl(adminContextPath + "/logout").and() + //3.蝕尼http basic屶隔?admin-client廣過扮俶勣聞喘 + .httpBasic().and() + .csrf() + //4.蝕尼児噐cookie議csrf隠擦 + .csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()) + //5.策待宸乂揃抄議csrf隠擦參宴admin-client廣過 + .ignoringAntMatchers( + adminContextPath + "/instances", + adminContextPath + "/actuator/**" + ); + } +} +``` + +* 俐個尼強窃?蝕尼AdminServer式廣過窟孖孔嬬? + + + + + +``` +@EnableDiscoveryClient +@EnableAdminServer +@SpringBootApplication +public class AdminSecurityServerApplication { + + public static void main(String[] args) { + SpringApplication.run(AdminSecurityServerApplication.class, args); + } +} +``` + +* 尼強eureka-server?admin-security-server?恵諒Spring Boot Admin 麼匈窟孖俶勣鞠村嘉嬬恵諒?[http://localhost:9301](https://link.juejin.cn?target=http%3A%2F%2Flocalhost%3A9301 "http://localhost:9301") + +![image-20230531001242361](https://java-tutorial.oss-cn-shanghai.aliyuncs.com/image-20230531001242361.png) + + + + + +## 聞喘欺議庁翠 + + + + + +``` +springcloud-learning +ɤ¤ eureka-server -- eureka廣過嶄伉 +ɤ¤ admin-server -- admin酌陣嶄伉捲暦 +ɤ¤ admin-client -- admin酌陣嶄伉酌陣議哘喘捲暦 +Á¤¤ admin-security-server -- 揮鞠村範屬議admin酌陣嶄伉捲暦` +``` \ No newline at end of file From 86135b7d0109ae0d1b51efc3cb016efe4b5973bc Mon Sep 17 00:00:00 2001 From: h2pl <362294931@qq.com> Date: 2023年8月26日 20:04:58 +0800 Subject: [PATCH 2/7] add mq list --- ReadMe.md | 19 +++++++++++++++++++ ...47344円270円216円346円266円210円350円264円271円.md" | 0 ...72345円272円217円346円266円210円350円264円271円.md" | 0 3 files changed, 19 insertions(+) rename "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円 .md" => "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円.md" (100%) rename "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円 .md" => "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円.md" (100%) diff --git a/ReadMe.md b/ReadMe.md index 6aabce3..0c11cc7 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -394,6 +394,25 @@ todo # 羔???奝????? ## Kafka +* [羔???奝?????kafka莚?В鐚?Kafka 綽???筝????鐚?Java???鐚?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka 綽???筝????鐚?Java???鐚?.md) +* [羔???奝?????kafka莚?В鐚?Kafka筝???≧??????????broker???菴?腮?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka筝???≧??????????broker???菴?腮?.md) +* [羔???奝?????kafka莚?В鐚?羔???奝?????kafka莚?В鐚?Kafka篁?膸?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka篁?膸?.md) +* [羔???奝?????kafka莚?В鐚?Kafka??????????????紫??膀?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka??????????????紫??膀?.md) +* [羔???奝?????kafka莚?В鐚?Kafka絽梧????巡擦??????臀勖?紫??](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka絽梧????巡擦??????臀勖?紫??.md) +* [羔???奝?????kafka莚?В鐚?Kafka??倶??篁?膸?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka??倶??篁?膸?.md) +* [羔???奝?????kafka莚?В鐚?Kafka??????臂ゅ轡篏???????](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka??????臂ゅ轡篏???????.md) +* [羔???奝?????kafka莚?В鐚?Kafka???荀???ヨ?????+??∵??蘂?紊у??](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka???荀???ヨ?????+??∵??蘂?紊у??.md) +* [羔???奝?????kafka莚?В鐚?絋?篏?絎??ー綮区????????](docs/mq/kafka/羔???奝?????kafka莚?В鐚?絋?篏?絎??ー綮区????????.md) +* [羔???奝?????kafka莚?В鐚?絋?篏?絎??ー罩私拭??????](docs/mq/kafka/羔???奝?????kafka莚?В鐚?絋?篏?絎??ー罩私拭??????.md) + +## RocketMQ +* [RocketMQ膤糸??鐚?篋???≧????姒?????膸?筝???贋?э??](docs/mq/RocketMQ/RocketMQ膤糸??鐚?篋???≧????姒?????膸?筝???贋?э??.md) +* [RocketMQ膤糸??鐚???堺?シ??綽?](docs/mq/RocketMQ/RocketMQ膤糸??鐚???堺?シ??綽?.md) +* [RocketMQ膤糸??鐚?綛炊?TEL??綮区??羔????](docs/mq/RocketMQ/RocketMQ膤糸??鐚?綛炊?TEL??綮区??羔????.md) +* [RocketMQ膤糸??鐚???拷????????筝?菴?羯?](docs/mq/RocketMQ/RocketMQ膤糸??鐚???拷????????筝?菴?羯?.md) +* [RocketMQ膤糸??鐚?羔???夌?????篋т??羔?茣?](docs/mq/RocketMQ/RocketMQ膤糸??鐚?羔???夌?????篋т??羔?茣?.md) +* [RocketMQ膤糸??鐚??ッ紜???上産](docs/mq/RocketMQ/RocketMQ膤糸??鐚??ッ紜???上産.md) +* [RocketMQ膤糸??鐚?蕁阪?闉?茣?](docs/mq/RocketMQ/RocketMQ膤糸??鐚?蕁阪?闉?茣?.md) # 紊у??腴? * [???腴壩????壩??莪?綣?膀?鐚?篋?莅∞??鐚?紊ф?井?勌??AI??????篋?](docs/backend/???腴壩????壩??莪?綣?膀?鐚?篋?莅∞??鐚?紊ф?井?勌??AI??????篋?.md) diff --git "a/docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円 .md" "b/docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円.md" similarity index 100% rename from "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円 .md" rename to "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円346円266円210円346円201円257円347円232円204円347円224円237円344円272円247円344円270円216円346円266円210円350円264円271円.md" diff --git "a/docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円 .md" "b/docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円.md" similarity index 100% rename from "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円 .md" rename to "docs/mq/RocketMQ/RocketMQ347円263円273円345円210円227円357円274円232円351円241円272円345円272円217円346円266円210円350円264円271円.md" From 183bf66bea9599a14c8598d6df28fcad26248d35 Mon Sep 17 00:00:00 2001 From: h2pl <362294931@qq.com> Date: 2023年8月26日 20:33:28 +0800 Subject: [PATCH 3/7] ok --- ReadMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index 0c11cc7..866d360 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -394,7 +394,7 @@ todo # 羔???奝????? ## Kafka -* [羔???奝?????kafka莚?В鐚?Kafka 綽???筝????鐚?Java???鐚?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka 綽???筝????鐚?Java???鐚?.md) +* [羔???奝?????kafka莚?В鐚?Kafka綽???筝????鐚?Java???鐚?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka綽???筝????鐚?Java???鐚?.md) * [羔???奝?????kafka莚?В鐚?Kafka筝???≧??????????broker???菴?腮?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka筝???≧??????????broker???菴?腮?.md) * [羔???奝?????kafka莚?В鐚?羔???奝?????kafka莚?В鐚?Kafka篁?膸?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka篁?膸?.md) * [羔???奝?????kafka莚?В鐚?Kafka??????????????紫??膀?](docs/mq/kafka/羔???奝?????kafka莚?В鐚?Kafka??????????????紫??膀?.md) From 757b11887fb3b0d8f1029ae80e5bb238229acbc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=B0=8F=E6=B9=96?= <362294931@qq.com> Date: 2025年4月16日 20:07:30 +0800 Subject: [PATCH 4/7] Update ReadMe.md --- ReadMe.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ReadMe.md b/ReadMe.md index 866d360..269ed3e 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -30,6 +30,16 @@

+

+ +

+ + ef9a0076f464d69ba16e99e7e8f26a87.png + +

+ +Swiftproxy-90M+?????蕭?茣??靮???篏鎘?IP鐚?羈???????????茣?500MB羌?莚?羌???????????羌???鋇?菴????鐚?篏睡???????g??鐚?GHB5腴?篋??????篌????鐚? + # Java??榊?? ## ??榊????ヨ?? From 0922bb9ffc366c5501dd8236e5d8fdc359226fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=B0=8F=E6=B9=96?= <362294931@qq.com> Date: 2025年4月21日 18:31:22 +0800 Subject: [PATCH 5/7] Update ReadMe.md --- ReadMe.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 269ed3e..b5d6559 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,4 +1,3 @@ -
@@ -33,8 +32,8 @@

- - ef9a0076f464d69ba16e99e7e8f26a87.png + + ef9a0076f464d69ba16e99e7e8f26a87.png

From 921aa16bcd882bcb0a667f8c5a1899914b9ffef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=B0=8F=E6=B9=96?= <362294931@qq.com> Date: 2025年4月21日 18:32:10 +0800 Subject: [PATCH 6/7] Update ReadMe.md --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index b5d6559..74fc288 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,3 +1,4 @@ +
From e89aca28d56b5c6e03ce37f20abc6781388b2b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E5=B0=8F=E6=B9=96?= <362294931@qq.com> Date: 2025年5月20日 18:36:36 +0800 Subject: [PATCH 7/7] Update ReadMe.md --- ReadMe.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 74fc288..84572da 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -32,14 +32,6 @@

-

- - ef9a0076f464d69ba16e99e7e8f26a87.png - -

- -Swiftproxy-90M+?????蕭?茣??靮???篏鎘?IP鐚?羈???????????茣?500MB羌?莚?羌???????????羌???鋇?菴????鐚?篏睡???????g??鐚?GHB5腴?篋??????篌????鐚? - # Java??榊?? ## ??榊????ヨ??

AltStyle によって変換されたページ (->オリジナル) /