apollo
apollo copied to clipboard
Apollo是否可以支持按照key维度来发布?
Apollo是否可以支持按照key维度来发布?
Apollo supports releasing configurations by key dimension through the ReleaseKeyGenerator
class, which generates a unique release key for each namespace based on appId
, cluster
, and namespace
. This mechanism ensures that releases can be uniquely identified and managed. For more details, you can refer to the ReleaseKeyGenerator
class in the Apollo codebase here.
If you're looking to schedule or delay the publishing of configurations, Apollo does not provide an official solution. However, there's an ongoing discussion in the community about potential workarounds, such as using external tools like the Quartz framework or a Redis delay queue to trigger configuration publishing via Apollo's OpenAPI. You can find more about this discussion here. It's important to carefully consider these approaches, as they involve external dependencies and might require a comprehensive understanding of your deployment and operational requirements.
Sources
- 能否提供定时发布或延迟发布的功能
- apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ReleaseKeyGenerator.java
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
apollo 的最小发布粒度是 namespace
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.