apache/dubbo-js
Tentang
Implementasi Apache Dubbo dalam TypeScript. Framework RPC dan layanan mikro untuk Node.js dan pengembangan web.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliApache Dubbo for ECMAScript
Apache Dubbo is an easy-to-use Web and RPC framework that provides different language implementations(Java, Go, Rust, Node.js, Javascript) for communication, service discovery, traffic management, observability, security, tools, and best practices for building enterprise-ready microservices.
Dubbo-js is the TypeScript implementation of Dubbo triple protocol (a fully gRPC compatible and http friendly protocol), which can be used for Node.js and web application development. With dubbo-js, you can easily build applications working on browser and frontend that can communicate with backend services through http-based protocol.

Get Started
The Node.js example builds from this workspace. It publishes a Protobuf service and calls it over HTTP/2 Triple and HTTP/1.1 ProtoJSON. Use Node.js 22 and pnpm 8.15.9.
pnpm install --frozen-lockfile --ignore-scripts
pnpm build
pnpm --filter dubbo-node-example build
pnpm --filter dubbo-node-example server
In another terminal, run the typed client or send a ProtoJSON request.
pnpm --filter dubbo-node-example client
curl --fail --http1.1 \
-H 'content-type: application/json' \
-H 'tri-service-group: dubbo' \
-H 'tri-service-version: 1.0.0' \
--data '{"sentence":"Hello World"}' \
http://127.0.0.1:8080/apache.dubbo.demo.example.v1.ExampleService/Say
- The Node.js example also covers Nacos and ZooKeeper discovery and calling a Dubbo Java 3.3.7 interface.
- The Web example calls the same service from a browser using Triple or gRPC-Web.
- The observability example exports provider and consumer metrics to Prometheus.
- The Node.js SDK reference covers startup checks, routing, load balancing, connection management, and per-call options.
How to contribute
Please check CONTRIBUTING for how to contribute to this project.
Connect us
Search Dingding group number and join us: 27690019068
Credit
This project is based on bufbuild/connect-es, an open-source project released under Apache License v2. Dubbo JS adds Triple interoperability with Dubbo Java, Java interface clients, and service governance for Node.js.
We have a announcement in our LICENSE file and keep all license headers of files come from connect-es unchanged.
Jelajahi proyek terkait
Memuat…