Skip to content

[Feature] Dubbo Cloud Native: To Add Service registration and discovery abstract #3942

Closed
@mercyblitz

Description

@mercyblitz

Abstract

Dubbo Cloud Native requires an abstract for Service registration and discovery that will support Dubbo application as a whole service registering to a registry instead of Dubbo service interfaces.

Concepts

It will introduce some new concepts:

  • Dubbo Service name(a.k.a Dubbo Application name)
    The name of Dubbo application is unique in the current application and the registry, which could be configured by the externalized property dubbo.application.name or set by ApplicationConfig directly.

  • Dubbo Service instance
    The minimum Dubbo registration unit must include:

    • service name: a.k.a Dubbo Application name that current service instance belongs to
    • hostname: The IP or hostname of the current service instance
    • service port: The port Dubbo services export
    • metadata: the metadata of the current instance, e.g, management port.
  • Dubbo Service registry
    Being different from the traditional Dubbo registry, Dubbo Application registry only accepts current Dubbo applications' registration, is like Spring Cloud Registry, and the metadata of Dubbo services will reside in their self-application.

  • Dubbo Service discovery
    It provides a mechanism to discovery Dubbo applications and Dubbo Service interfaces.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions