156.2. Spring Boot Auto-Configuration


组件支持 5 个选项,它们如下所列。

名称描述默认类型

camel.component.ignite-compute.configuration-resource

设置从中加载配置的资源。它可以是: URI、String (URI)或 InputStream。选项是一个 java.lang.Object 类型。

 

字符串

camel.component.ignite-compute.enabled

启用 ignite-compute 组件

true

布尔值

camel.component.ignite-compute.ignite

设置 Ignite 实例。选项是一个 org.apache.ignite.Ignite 类型。

 

字符串

camel.component.ignite-compute.ignite-configuration

允许用户设置程序化 IgniteConfiguration。选项是一个 org.apache.ignite.configuration.IgniteConfiguration 类型。

 

字符串

camel.component.ignite-compute.resolve-property-placeholders

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

true

布尔值

156.2.1. 预期的有效负载类型

每个操作都需要指定类型:

操作预期有效负载

CALL

可识别或一个可识别的 IgniteCallable 集合。

BROADCAST

IgniteCallable, IgniteRunnable, IgniteClosure。

APPLY

IgniteClosure.

执行

ComputeTask, Class<? 扩展 ComputeTask> 或代表参数的对象(如果 taskName 选项不为空)。

运行

系列 IgniteRunnables 或单个 IgniteRunnable。

AFFINITY_CALL

IgniteCallable.

AFFINITY_RUN

IgniteRunnable.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.