This document clarifies the implementation status of various platform-java modules that are marked as stubs.
A stub module is a placeholder implementation that provides the basic structure, dependencies, and API contracts but is not yet fully functional or production-ready. Stub modules may contain:
- Partial or incomplete implementations
- Core classes with basic scaffolding
- Test infrastructure
- Dependencies configured but not fully integrated
- Documentation for future implementation
The following modules are currently stubs and should not be used in production:
- platform-java-cluster-etcd - etcd-based cluster state coordination
- platform-java-cluster-redis - Redis-based cluster coordination
- platform-java-cluster-zookeeper - Apache ZooKeeper-based cluster coordination
- platform-java-registry-etcd - etcd-based service registry
- platform-java-registry-eureka - Netflix Eureka-based service registry
- platform-java-storage-s3 - AWS S3 or S3-compatible persistent storage
- platform-java-storage-database - SQL database-based persistent storage
- platform-java-storage-redis - Redis-based persistent storage
- platform-java-config-consul - HashiCorp Consul configuration source
- platform-java-config-etcd - etcd-based configuration source
- platform-java-config-vault - HashiCorp Vault-based secrets and configuration
- platform-java-rest-api-netty - Alternative Netty-based REST API server
If you wish to work on implementing a stub module:
- The stub modules are included in the build
- Classes are marked with
@Deprecatedannotations - POM descriptions clearly indicate stub status
- Dependencies are already configured
- Basic test structure is in place
Do NOT use stub modules in production. Instead:
- For clustering: Use platform-java-cluster-consul (implemented)
- For service registry: Use platform-java-registry-consul (implemented)
- For storage: Use platform-java-storage (filesystem-based, implemented)
- For configuration: Use platform-java-config (YAML/JSON-based, implemented)
- For REST API: Use platform-java-rest-api (default, implemented)
Stub modules are currently:
- INCLUDED in the standard build
- INCLUDED in published artifacts
- Marked with
@Deprecatedin Java code - Documented in POM
<description>elements
This approach allows developers to:
- See the intended architecture for integrations
- Implement stubs incrementally
- Understand planned functionality from code structure
- Avoid breaking changes when implementations are completed
To implement a stub module:
- Review the
@Deprecatedannotation and class documentation - Complete the implementation
- Add comprehensive tests
- Update this document
- Remove the
@Deprecatedmarker - Create a pull request with the implementation
See GitHub issues for specific implementation tasks and roadmaps.
- Since: 1.1 - Initial stub modules added
- Status: Ongoing - Implementations pending based on community needs and contribution efforts