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.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
What’s New in Apache Dubbo 3.1.0? Service Mesh, Fastjson2, and Seamless Upgrade

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.

Dubbo 3.1.0 release banner
Dubbo 3.1.0 release banner

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.

Dubbo Mesh data‑plane architecture
Dubbo Mesh data‑plane architecture

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.

Error code troubleshooting diagram
Error code troubleshooting diagram

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.

Fastjson2 support illustration
Fastjson2 support illustration

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.

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.

BackendCloud NativeService MeshApache DubboFastjson2
Alibaba Cloud Native
Written by

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.

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.