Skip to main content
Version: 2.10.x(Latest)

📄️ Apollo

Demonstrates seamless integration of Apollo configuration center with GoFrame applications for centralized configuration management. This example showcases Apollo client initialization and setup, configuration adapter implementation, dynamic configuration loading and parsing, real-time configuration updates, error handling and logging mechanisms, and configuration value retrieval. Features include centralized configuration management through Apollo, support for multiple environments and namespaces, automatic configuration refresh capabilities, type-safe configuration access using GoFrame's config component, and production-ready error handling. Ideal for building microservices that require centralized configuration management, dynamic configuration updates without service restart, and configuration versioning and rollback capabilities.

📄️ Consul

Demonstrates comprehensive integration of HashiCorp Consul configuration center with GoFrame applications for distributed configuration management. This example showcases Consul client setup and initialization, configuration adapter implementation for GoFrame's config component, dynamic configuration loading and parsing, real-time configuration watch and updates, error handling and logging mechanisms, and secure configuration value retrieval. Features include distributed configuration management through Consul KV store, support for multiple data centers and namespaces, automatic configuration synchronization, health checks and service discovery integration, type-safe configuration access, and production-ready error handling. Perfect for building cloud-native microservices requiring distributed configuration management, service mesh integration, and consistent configuration across multiple instances.

📄️ Kubernetes ConfigMap

Demonstrates comprehensive integration of Kubernetes ConfigMap with GoFrame applications for cloud-native configuration management. This example showcases both in-pod and out-of-pod configuration setups, Kubernetes client initialization and authentication, ConfigMap access and dynamic loading, real-time configuration watching and updates, namespace and resource management, error handling and logging, and secure configuration value retrieval. Features include native Kubernetes ConfigMap integration, support for multiple deployment scenarios (in-cluster and external), automatic configuration refresh when ConfigMap changes, seamless integration with GoFrame's config component, RBAC-compliant access patterns, and production-ready error handling. Perfect for building cloud-native applications deployed on Kubernetes requiring native configuration management, GitOps workflows, and configuration-as-code practices.

📄️ Nacos

Demonstrates seamless integration of Alibaba Nacos configuration center with GoFrame applications for dynamic configuration management. This example showcases Nacos client initialization and configuration, configuration adapter implementation for GoFrame, dynamic configuration loading and hot-reloading, real-time configuration listening and updates, namespace and group management, error handling and logging, and secure configuration value retrieval. Features include centralized configuration management through Nacos, support for multiple environments and namespaces, automatic configuration refresh without service restart, configuration versioning and rollback, type-safe configuration access, and production-ready monitoring. Ideal for building cloud-native microservices in Alibaba Cloud or on-premises environments requiring dynamic configuration, service discovery, and configuration sharing across distributed systems.

📄️ Polaris

Demonstrates seamless integration of Tencent Cloud Polaris configuration center with GoFrame applications for service mesh configuration management. This example showcases Polaris client setup and initialization, configuration adapter implementation for GoFrame's config component, dynamic configuration loading and hot-reloading, real-time configuration watch and synchronization, namespace and file group management, error handling and logging mechanisms, and secure configuration value retrieval. Features include centralized configuration management through Polaris, support for multiple namespaces and configuration groups, automatic configuration refresh capabilities, integration with Polaris service mesh for unified service governance, type-safe configuration access, and production-ready monitoring. Ideal for building cloud-native microservices on Tencent Cloud or using Polaris mesh requiring dynamic configuration, service discovery, traffic management, and unified configuration governance.