This page is available in Simplified Chinese.
v5.0.0 (In development)
Meteor 5.x rebuilds the implementation around the existing interface design. The current build is 5.0.0-SNAPSHOT and is awaiting a formal release.
<dependency>
<groupId>net.hasor</groupId>
<artifactId>meteor</artifactId>
<version>5.0.0-SNAPSHOT</version>
</dependency>
Added
- Added gRPC, gRPC-Web, Connect, Triple, Dubbo, Thrift, JSON-RPC, XML-RPC, SOAP, Hessian, and ONC RPC support for native SDKs and cross-language calls.
- Added service definitions through Java annotations, Proto, Thrift IDL, and WSDL. gRPC, Connect, and Triple support streaming.
- A service can be exposed through several protocols using shared or dedicated ports and HTTP paths.
- Added TLS, HTTPS, and DTLS, including server authentication and mutual certificate authentication.
- Added ZooKeeper, Nacos, and JDBC registries, plus integration with Dubbo discovery.
- Added a static XML address book that loads and validates provider addresses at startup.
- Added a standalone web console for service lookup, method testing, and governance, with headless deployment and remote console management.
- Added a standalone Telnet module with password authentication and management of instances, services, rules, and metadata.
- Added integrations with Spring, Spring Boot, Hasor, Hasor Boot, and Solon, with remote service injection through
@MetAddress.
Improved
- Applications can start the core independently by creating a
MetContextthroughMetConfiguration. - Neta manages transport connections for TCP, UDP, HTTP, and WebSocket.
- Service publication validates protocol capabilities, method mappings, and HTTP path conflicts. The registry records each instance's published protocol addresses.
- The local API, registry API, Telnet module, and web console share governance capabilities.
Fixed
- Select the address for the requested protocol when a service supports several protocols.
- Preserve all published protocol addresses during discovery.
- Preserve successful HTTP responses received in full before the connection closes.
Breaking changes
- The core artifact is now
meteor, the Java package isnet.hasor.meteor, and the runtime requires JDK 17 or later. Migrate existingRsf*API usage using the application guide. - RSF's default encoding changed from Hessian to JSON. When upgrading one side at a time, configure both sides to use the same encoding and verify its implementation.
- The registry data model and management API changed. See the service discovery guide to migrate existing registry data.
- Traffic routing rules use XML. Migrate Groovy rules using the rule syntax guide.