Boost Spring Cloud Development with Mica: The Lightweight Core Library
Mica is a lightweight Java 8 library that enhances Spring Cloud by providing core microservice capabilities, supporting both Servlet and Reactive models, auto‑generating configuration, and offering features like XML/HTML to Bean conversion, retry mechanisms, and extensive update notes, with documentation and examples available online.
Mica (Cloud Mother)
Mica, meaning "cloud mother", is the core of cloud services, enhancing Spring Cloud functionality for faster and easier development.
Mica Core Dependencies
Mica is built on Java 8, has no legacy baggage, supports both traditional Servlet and Reactive (WebFlux). It uses mica-auto to auto-generate spring.factories and spring-devtools.properties, depends only on Spring Boot and the Spring Cloud suite, with no third‑party dependencies.
Dependencies: Spring 5.x, Spring Boot 2.1.x, Spring Cloud Greenwich.
Update Notes
⚡ Optimize README with documentation link.
⚡ Add .codacy.yml configuration.
⚡ Add mica-laytpl module.
⚡ Enhance XmlHelper in mica-core to support safe and unsafe modes.
⚡ mica-http: HTML/XML to Bean conversion with type conversion.
⚡ mica-http: Add retry mechanism.
⚡ mica-http: Add EventListener.
⚡ mica-http: Optimize interceptor, support multiple, move log interceptor to the end.
⚡ Gradle: use platform replace enforcedPlatform.
⚡ mica-cloud: Optimize RestTemplate Bean with configuration switch, disabled by default.
⬆️ Dependency upgrade: swagger‑bootstrap‑ui to
1.9.5.
1. Introduction
<code>mica-http has been refined since v1.1.3 and is becoming a lightweight crawler tool.</code>2. Crawler Proxy and Retry
3. Page Crawling
4. Model
Documentation
Official docs: https://www.dreamlu.net/#/doc/docs
Yuque docs (follow/subscribe): https://www.yuque.com/dreamlu/mica
Example project: https://github.com/lets-mica/mica-example
Follow Us
Scan the QR code above for more exciting content recommended daily!
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.