6.6. Red Hat build of Kogito 和 Kafka 集成
红帽构建 Kogito 决定微服务,通过使用 org.kie.kogito:kogito-addons-{quarkus|springboot}-events-decisions
event-on 现在作为技术预览提供。在 Red Hat build of Quarkus 上,您可以将 io.quarkus:quarkus:quarkus-kubernetes
-service-binding 添加到应用程序为依赖项。在 Spring boot 中,您必须将 mapping
字段添加到创建的服务绑定中,该绑定必须包含应用程序所需的环境变量。另一个解决方案是使用红帽构建 Kogito operator 中的自定义配置映射。