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