Skip to content
プロジェクト

概要

Apache DubboのTypeScript実装です。Node.jsやWeb開発向けのRPC・マイクロサービスフレームワークです。

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…