Configuration Service Invocation

Perform application-level configuration management.

Introduction

Manage application-level configuration by calling the Capa SDK API. The underlying implementation uses SPI to register adapter implementations for various platforms.

Invocation Logic

The following diagram shows the Capa Configuration service invocation logic:

Configuration

  • Service (appid:A): the service invoker, CloudX Configuration Service is the service being invoked, which can be any cloud vendor’s configuration service
  • Service (appid:A) initiates a service call to the Cloud Configuration Service through the Capa SDK
  • Capa Configuration API is a unified API specification
  • Capa-CloudX Configuration Adaptor SDK is Capa’s adapter implementation class, registered via SPI
  • CloudX Configuration Service provides the actual configuration service

API Design

The design of the Capa Configuration API follows community standards:

The meanings of specific parameters are as follows:

ParameterMeaning
storeNameStorage name
appIdUnique service ID within the same namespace
keysList of configuration keys
metadataMetadata for sending configuration requests
groupConfiguration group (Optional)
labelConfiguration label (Optional)
typeThe specific type corresponding to the generic in the request response object
ConfigurationRequestItemRequest object
ConfigurationItemResponse object for getting configuration
SubConfigurationRespResponse object for subscribing to configuration

Last modified March 16, 2026: feat: 全面优化 Capa.io 网站 (0dacdd85)