This page is available in Simplified Chinese.
How Meteor works
Meteor runs inside the application process. Providers publish Java interfaces and their implementations. Consumers call them through Meteor or a native SDK for the selected protocol. A registry supplies addresses and governance settings, while the console, Telnet, and APIs provide management access.
Solid lines show service calls. Dashed blue lines show discovery and configuration updates, and dashed green lines show management operations. Service requests go directly to providers. Open the full-size diagram.
Protocol integration
RPC endpoints receive requests and dispatch them to the appropriate service methods. A single implementation can expose endpoints for multiple protocols.
- Protobuf: gRPC, gRPC-Web, Connect, and Triple.
- HTTP or WebSocket: JSON-RPC, XML-RPC, SOAP, Hessian, and Hprose.
- TCP or UDP: RSF, Dubbo, Thrift, and ONC RPC.
The individual guides specify each protocol's transports, call types, and client languages. Connectors manage listeners and outgoing connections. You can configure port sharing, path mounting, and secure communication.
Service discovery
Providers register services and endpoint addresses. Consumers synchronize those addresses and choose a provider when making a call. The registry also distributes governance settings. When an instance starts, goes offline, or changes address, consumers update their available addresses.
Meteor supports ZooKeeper, Nacos, and a JDBC registry, and can integrate with Dubbo registries. Native clients use the address configuration or discovery features offered by their own SDK.
Consumers can also use fixed addresses or an address book without a registry.
Service calls
- The provider configures the endpoint protocol and publishes the service interface and implementation.
- The consumer subscribes to the interface and gets provider addresses from a fixed address, address book, or registry.
- The consumer chooses a provider and sends the request over the selected protocol.
- The endpoint dispatches the request to the service method, runs the implementation, and returns the result.
A native SDK sends requests directly to the provider endpoint. Both sides must agree on method names, arguments, and data formats. Protocols that use separate interface definitions also require the corresponding Proto, Thrift IDL, or WSDL file.
Java clients support synchronous, asynchronous, and callback-based calls. Some protocols also support streaming. See framework configuration for timeouts and lifecycle for filters.
Service management
Use the API, web console, or Telnet to inspect services, change their state, and configure routing or rate limits. The web console can also invoke methods for debugging and display their results.
Local management changes the running application. When using a registry to manage services, the registry persists the settings and applications apply them after synchronization. Enable management endpoints as needed. See service governance for details.
Follow the quick start to run and call a service.