Skip to content
프로젝트

소개

Apache Dubbo의 TypeScript 구현체입니다. Node.js 및 웹 개발을 위한 RPC·마이크로서비스 프레임워크입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…