TingIāu “Ting” Kí[隨筆] 在 Spring Boot 使用 MicroMeter 整合 CloudWatch 進行系統指標監測最近在公司收到了一個需求,需要去對產品系統進行監測、搜集資料,以此來確定未來開發方向,比如某些已經掛著 @Deprecated 的 API 到底還有沒有人用、有沒有哪些 API 是熱點等等。Mar 5Mar 5
TingIāu “Ting” Kí[筆記] Kafka Producer接續前篇 Kafka Topics, Partitions and Offsets,今天輪到 Kafka Producer 的筆記。Mar 2Mar 2
TingIāu “Ting” Kí[筆記] Kafka Topics, Partitions and Offsets最近開始學習 Apache Kafka 的相關知識,接下來應該會有一系列 Kafka 的學習筆記,第一篇就從 Kafka 的基礎概念 Topics、Partitions、Offsets 開始。Mar 1Mar 1
TingIāu “Ting” Kí[隨筆] 甚麼是 VPC,可以吃嗎?最近在整理公司在 AWS 上使用的服務,於是有了這篇超短文章,主要是簡短記錄自己了解的 VPC 概念和內部組成。Feb 28Feb 28
TingIāu “Ting” Kí[隨筆] 如何在 Spring 中替 request 加入自定義的 header ?最近在學習關於 Interceptor 和 filter 的知識時,突然突發奇想,這兩者雖然一個是屬於 Spring 一個是 Servlet API,但本質都是對於request進行預處理 ,那我有沒有可能在 request 到達 controller 之前,對這…Feb 25Feb 25
TingIāu “Ting” Kí[隨筆] 簡述 JWT 的原理與運作方式JSON Web Token 是一種開放標準(RFC 7519),該標準定義了一種簡單穩定的方式來表示身份驗證和授權數據,而且也被廣泛地運用在各式後端服務之中,特別是分散式服務,因為這類型服務很難依賴 cookies(難以處理跨域請求) 或 session…Feb 12Feb 12
TingIāu “Ting” Kí[開發隨筆] 一個 Service 建構子中有八個 Initializers 參數注入,於是想用 CoR 重構這段程式最近筆者被分配到一個新任務,要去祖傳的 Code Base 裡面去加入和移除 Features。相信大家聽到祖傳兩個字心中都有底了,誰家裡沒有那種「會動我不動」的 Legacy Code 呢,這種 Code 不動則矣,一旦被指派去在裡面做改動,那真的是只能求神拜佛買乖乖。…May 18, 2023May 18, 2023