What Is Mica? A Minimalist Java Microservice Core for Spring Boot & Cloud
Mica, originally derived from the internal lutool project, is a lightweight Java 8‑based microservice core that supports both traditional Servlet and Reactive WebFlux, auto‑generates Spring configuration, adds metrics, Redis utilities, RSA helpers, and integrates with Prometheus and Grafana, with its source available on GitHub and Gitee.
1. Mica (云母)
micaoriginated from the internal lutool project. lutool was created in 2017, inspired by jhipster, and gradually formed a core set for microservices.
Because the name lutool did not match its function, it was renamed to mica in 2019, implying a cornerstone for cloud services.
2. Core Dependencies of Mica 2.x
micais based on java 8, has no legacy baggage, and supports both traditional Servlet and Reactive (WebFlux). It uses mica-auto to automatically generate spring.factories and spring-devtools.properties configurations, depending only on Spring Boot and the Spring Cloud ecosystem, without third‑party libraries.
Spring Boot 2.3.x
3. Mica 2.0.5‑GA Release Notes
✨ Added mica-metrics module for Prometheus metric collection, supporting Undertow and Sentinel.
✨ mica-redis added scan and sscan commands.
📝 Fixed documentation for mica-redis. (Gitee PR by @醉酒的蝴蝶zzz)
✨ mica-core added RsaHelper for RSA PEM key parsing and export. (PR by @caiqiyuan)
✨ Enhanced encryption/decryption methods in RsaUtil.
✨ Added JDK object serialization that ignores serialization id.
✨ Added CheckedPredicate.
✨ Added JSON format validation.
🐛 Fixed several SonarCloud issues.
⬆️ Upgraded Spring Cloud to Hoxton.SR7.
4. Mica‑Metrics Component
Supports Sentinel metric collection.
Supports Undertow metric collection.
Combined with the micrometer-registry-prometheus component, these metrics can be collected and displayed in Grafana.
5. Source Code
Mica source on GitHub: https://github.com/lets-mica
Mica source on Gitee: https://gitee.com/596392912/mica
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
