Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(contrib/config/apollo):where gcfg config apollo failed to retrieve configurations for multiple namespaces, where watch apollo change resulted in missing configurations.#4509

Merged
hailaz merged 3 commits intogogf:masterfrom
xiongchao123:master
Nov 19, 2025

Conversation

@xiongchao123
Copy link
Contributor

Fixed an issue where gcfg config apollo failed to retrieve configurations for multiple namespaces; fixed an issue where watch apollo change resulted in missing configurations.

DAWN and others added 2 commits November 12, 2025 14:15
…ations for multiple namespaces; fixed an issue where `watch apollo change` resulted in missing configurations.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes issues with the Apollo configuration adapter when handling multiple namespaces. The changes enable proper retrieval and watching of configurations from comma-separated namespace values.

  • Added support for parsing comma-separated namespaces in the NamespaceName configuration field
  • Updated the Available() method to verify all configured namespaces are accessible
  • Modified updateLocalValue() to iterate through all namespaces and merge their configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hailaz hailaz changed the title fix(gcfg/apollo):where gcfg config apollo failed to retrieve configurations for multiple namespaces, where watch apollo change resulted in missing configurations. fix(contrib/config/apollo):where gcfg config apollo failed to retrieve configurations for multiple namespaces, where watch apollo change resulted in missing configurations. Nov 19, 2025
@hailaz hailaz merged commit a85b221 into gogf:master Nov 19, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants