是否存在 OSGi 配置管理服务的现有企业实现?

发布于 2024-12-05 03:23:22 字数 142 浏览 1 评论 0原文

我知道配置管理服务有一些开源实现(例如 Apache Felix)。 这些实现的问题在于它们仅限于单个服务器。

我正在寻找配置管理服务的企业就绪实施。它应该支持集中配置管理。所以基本上我想象有一些对所有服务器通用的配置和一些对每个集群或服务器不同的配置。

I know there are some open source implementations of the config admin service (like from Apache Felix).
The problem with these implementations is that they are limited to a single server.

I am looking for an Enterprise ready implementation of the config admin service. It should support centralized configuration management. So basically I imagine having some configuration that is common to all servers and some configuration that is different for each cluster or server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

将军与妓 2024-12-12 03:23:22

配置管理服务旨在在单个服务器上运行。这并不意味着它不能支持多服务器的配置;这意味着此类“企业级”功能应该是向配置管理服务提供数据的管理代理的一部分。

问题是,每个人对管理代理需要做什么都有不同的要求。如果您要购买现有的产品,它可能不太适合您的要求。我建议你自己写一个;但这相对简单,因为 Config Admin 负责在单个 JVM 中管理配置数据的复杂(但通用)任务,使您可以专注于满足您需求的独特功能。

换句话说:考虑模块化!不要试图扩展 Config Admin 来让它做所有事情;只需围绕它构建组件即可。

The Config Admin service is intended to run on a single server. This does not mean it cannot support configuration of multiple servers; it means that such "enterprise level" features should be part of a Management Agent that supplies data to the Config Admin service.

The problem is, everybody has different requirements for what that management agent needs to do. If you were to get an existing one it would probably not quite be right for your requirements. I would recommend writing one yourself; but this is relatively simple to do, since Config Admin takes care of the complex (but generic) task of managing config data within a single JVM, allowing you to concentrate on the features that are unique to your needs.

In other words: think modularity! Don't try to expand Config Admin to make it do everything; just build components around it.

む无字情书 2024-12-12 03:23:22

类似的问题之前曾被问过,请参阅。 Felix 实现具有可插入的持久性扩展,如 Thilo 的回答中所述。

Karaf 有一个名为 Cellar 的子项目,用于集群实例,这也可以分发通用配置(虽然显然只有当你已经在使用 Karaf 时才有用)。

Something similar has been asked before, see this. The Felix implementation has a pluggable extension for persistence, as noted in Thilo's answer.

Karaf has a subproject called Cellar for clustering instances, this can distribute common configuration too (though obviously only of use if you're already using Karaf).

转身泪倾城 2024-12-12 03:23:22

Christian,将为您的 Karaf 实现提供此功能的包是 Cellar。这将允许您集中管理大量 karaf“节点”,并根据 karaf 节点是否属于集群和组来更新配置。

Christian, the package that will provide this functionality for your Karaf implementation is Cellar. This will allow you to centrally manage numerous karaf "nodes" and update configurations based on whether karaf nodes belong to clusters and groups.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文