Skip to content

[Refactor][Enhancement] use Grpc replace all Http request between servers. #9949

@KomachiSion

Description

@KomachiSion

Is your feature request related to a problem? Please describe.

After Nacos 2.2, The server only can support upgrade from 2.0, and not support upgrade from 1.X. So the cluster default can support Grpc request in any situation.

But some of request like report between servers still use http, I think It should be replaced.

Describe the solution you'd like

  1. Add grpc request and response.
  2. modified the relative logic, use grpc to send request between servers default, if target node is unsupported, use http to request.
  3. mark the http server request and api as Deprecated.

Additional context

Expected report, also should find out other Http request between servers and do replaced.

  • replaced report API.
  • config-module, CommunicationController - remove datachange which has been replaced by grpc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions