What’s New in Apache Dubbo 3.1.0? Service Mesh, Fastjson2, and Seamless Upgrade
Apache Dubbo 3.1.0 introduces native Service Mesh support, an error‑code troubleshooting guide, Fastjson2 serialization, single‑port multi‑protocol handling, and full compatibility with Dubbo 3.0, providing a lighter data‑plane and a more cohesive control‑plane for cloud‑native applications.
Release Overview
Apache Dubbo 3.1.0 was released on August 22 after community voting, marking a milestone that fully embraces Service Mesh on the data plane.
Key New Features
Service Mesh data‑plane capabilities, supporting both Thin SDK and Proxyless modes, with native sidecar and xDS‑based control.
Error‑code troubleshooting guide that links log entries to official documentation.
Support for Fastjson2 as an alternative serialization protocol.
Single‑port multi‑protocol support.
Dubbo Reactive stream support.
Service Mesh Integration
Dubbo 3.1.0 can connect to a Service Mesh via Thin SDK or Proxyless mode. Thin SDK uses a sidecar proxy, while Proxyless communicates directly with the control plane using the xDS protocol. The official “Mesh Deployment” documentation provides step‑by‑step examples.
Error‑Code Guidance
Starting with 3.1.0, Dubbo attaches a documentation link to each error code in the logs, helping developers and operators quickly locate the root cause and improve online stability.
Fastjson2 Integration
Fastjson v2 offers a high‑performance JSON library supporting JSON/JSONB, GraalVM native images, and JDK 17. Dubbo’s default Hessian serializer is deprecated; setting serialization=fastjson2 enables the new serializer, and migration guidance will be provided.
Upgrade Compatibility
Dubbo 3.1.0 is fully compatible with 3.0.0. Users of Nacos as a registry should ensure the group property is consistent on both provider and consumer sides, as described in the SDK upgrade guide.
Overall, Dubbo 3.1.0 delivers a lighter data‑plane, a more cohesive control‑plane, and a path toward a unified service control platform.
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.
Alibaba Cloud Native
We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.
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.
