385.4. Spring Boot Auto-Configuration


组件支持 8 个选项,如下所示。

Expand
名称描述默认类型

camel.component.zookeeper-master.container-id-factory

使用自定义 ContainerIdFactory 来创建容器 ID。选项是一个 org.apache.camel.component.zookeepermaster.ContainerIdFactory 类型。

 

字符串

camel.component.zookeeper-master.curator

使用自定义配置的 CuratorFramework 作为与 zookeeper ensemble 的连接。选项是一个 org.apache.curator.framework.CuratorFramework 类型。

 

字符串

camel.component.zookeeper-master.enabled

启用 zookeeper-master 组件

true

布尔值

camel.component.zookeeper-master.maximum-connection-timeout

连接到 zookeeper ensemble 时使用的超时

10000

整数

camel.component.zookeeper-master.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值

camel.component.zookeeper-master.zk-root

在 zookeeper 中使用的根路径,其中存储了哪些节点是 master/slave 等信息。默认将使用: /camel/zookeepermaster/clusters/master

/camel/zookeepermaster/clusters/master

字符串

camel.component.zookeeper-master.zoo-keeper-password

连接到 zookeeper ensemble 时使用的密码

 

字符串

camel.component.zookeeper-master.zoo-keeper-url

zookeeper ensemble 的 url

localhost:2181

字符串

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat