Skip to content
Projekte

Über uns

Die TypeScript-Implementierung von Apache Dubbo, einem RPC- und Microservices-Framework für Node.js und die Webentwicklung.

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Apache Dubbo for ECMAScript

License Build

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.

arc

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.

Ähnliche Projekte entdecken

Wird geladen…