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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What Is Mica? A Minimalist Java Microservice Core for Spring Boot & Cloud

1. Mica (云母)

mica

originated 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

mica

is 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

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

javaMetricsSpring Bootopen‑source
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.