apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Apollo是否可以支持按照key维度来发布?

Open hezhaoye opened this issue 10 months ago • 2 comments

Apollo是否可以支持按照key维度来发布?

hezhaoye avatar Apr 16 '24 10:04 hezhaoye

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

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.

dosubot[bot] avatar Apr 16 '24 10:04 dosubot[bot]

apollo 的最小发布粒度是 namespace

nobodyiam avatar Apr 20 '24 04:04 nobodyiam

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.

stale[bot] avatar May 22 '24 22:05 stale[bot]

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.

stale[bot] avatar Jun 02 '24 12:06 stale[bot]