What’s New in mica-mqtt 2025: Architecture, Performance, and AI Enhancements

The 2025 release of mica-mqtt introduces 19 versions with major architecture refactoring, performance boosts via mica-net integration, multi‑protocol support, AI (MCP) capabilities, extensive plugin enhancements for Solon and Spring, and a roadmap for 2026 improvements, all documented with code snippets and repository links.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in mica-mqtt 2025: Architecture, Performance, and AI Enhancements

2025 Data Overview

In 2025, mica-mqtt released 19 official versions from v2.4.0 to v2.5.11, including two milestone releases.

Milestones: Joined the Dromara organization; Maven coordinates changed to org.dromara.mica-mqtt.

Engine upgrade: Integrated mica-net 1.2.x, improving I/O and batch‑send performance.

Architecture refactor: Implemented prefix‑tree subscription management, deep MQTT decoder rewrite, and added AI (MCP) support.

Console UI: Added management dashboard at https://gitee.com/dreamlu/mica-mqtt-dashboard.

Annual Core Updates

1. Architecture Evolution & Performance

Multi‑protocol support in v2.5.0: MQTT, MQTTs, MQTT‑WS, MQTT‑WSS, and HTTP API.

Prefix‑tree subscription management introduced in v2.5.4, greatly improving matching efficiency for large subscription sets.

Decoder deep refactor in v2.5.11 reduced temporary objects, enhancing memory usage and speed.

Connection enhancements: added PROXY protocol v1 support, and bindIp / bindNetworkInterface options for multi‑NIC environments.

2. Ecosystem & Plugin Enhancements

Deep integration with Solon and Spring: unified @MqttServerFunction and @MqttClientSubscribe annotations.

Plugins support topic variable parsing (${var}) and placeholders.

Enhanced serialization allowing custom deserialization logic and generic handling.

Solon plugin now supports Metrics collection.

JSON handling via Jackson3 and snack4.

Observability improvements: comprehensive HTTP API (Stats, Clients, Subscriptions) and new Server‑Sent Events (SSE) real‑time stats stream.

3. MQTT 5.0 and Protocol Completeness

MQTT 5.0 enabled by default for clients.

Added support for sessionExpiryInterval, MqttSubscriptionOption, custom will properties, and retained messages with lifecycle via $retain.

4. Cross‑Platform and AI Exploration

Android compatibility: optimized TopicUtil and thread model, removed ManagementFactory dependency.

AI (MCP) support introduced in v2.5.0, exploring MQTT use cases for large language models.

Key Version Timeline

v2.4.0‑v2.4.2: Migration to Dromara, reconnection logic improvements, Android support.

v2.4.3‑v2.4.9: Spring Boot/Solon plugin enhancements, object‑direct sending, heartbeat strategy.

v2.5.0‑v2.5.4: Major refactor – MCP AI support, prefix‑tree subscription, decoder package restructure.

v2.5.5‑v2.5.11: Performance boost – mica‑net integration, SSE monitoring, memory and decode optimizations.

2026 Outlook

Planned 2.6.0 with three M‑milestones, aiming to minimize API changes; continued maintenance of 2.5.x.

Further MQTT 5.0 feature support on the server side.

Potential native clustering support.

Open‑source mica‑net to the community.

Open‑Source Repository

https://gitee.com/dromara/mica-mqtt

https://github.com/dromara/mica-mqtt

https://gitcode.com/dromara/mica-mqtt

Javaopen-sourceIoTMQTT
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.