问题标签 [zeebe]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
140 浏览

spring - 将 toml 文件名传递给 spring 上下文

zeebe -broker必须以配置 toml 文件的路径启动。但是,在 spring 上下文中,我仅在运行时拥有此信息(它的 cli 参数)。如何定义我的 spring 配置(基于注释)以为使用给定路径初始化的代理提供 bean?

0 投票
2 回答
681 浏览

bpmn - Zeebe 工作流实例中的自定义进程状态

有没有办法将自定义状态(字符串值)附加到/从正在运行的 Zeebe 工作流中获取?

示例:考虑 Zeebe 中的规范收费信用卡工作流程。

开始 -> ChargeCreditCard(服务任务) -> 结束

ChargeCreditCard 任务被建模为 nodejs 工作应用程序正在侦听主题的外部任务。假设这个 nodejs 应用程序需要 1 分钟来执行和完成,我想定义/附加 2 个自定义状态名称到这个模型。

状态#1.charge-credit-card(1 分钟前) 状态#2.credit-card-charged-successfully(1 分钟后)

因此,如果有人通过 zeebe rest api 检索正在运行的工作流实例的状态,他们会在执行前获得状态#1,并在 nodejs 工作人员完成后 1 分钟后获得状态#2。

我的问题是使用标准 BPMN 对象在 Zeebe 中执行此操作的本地方法。如果没有,是否有任何解决方法可以实现相同的目标。

0 投票
0 回答
599 浏览

docker - 在 nginx 反向代理后面运行 Camunda Operate dockerized

我已经成功部署了 dockerized 版本 camunda operation、zeebe broker 和 elasticsearch。我可以在 localhost:8080 访问 camunda 的 web ui 操作。我需要将这些放在现有的 nginx 反向代理后面。我的第一次尝试是:

operate是docker容器的名字,nginx容器是在同一个网络中运行的。导航到https://localhost/operate会显示一个空白页面,其中显示了 Camunda Operate 标题。似乎正在发生的是初始 /operate 调用已成功代理,但随后对静态资源的调用转到https://localhost/static/some-script.js而不是https://localhost/operate/static/some-脚本.js

我认为在 nginx 位置指定 /operate/ 而不是 /operate 可以解决问题,但没有运气。任何澄清将不胜感激!

0 投票
1 回答
486 浏览

scala - Zeebe 取消部署的实例

最近我尝试在 scala 上使用 zeebe,zeebe io,我有一些未完成的实例,不知道如何删除它们,有人可以建议我对此有何决定吗?在此处输入图像描述

0 投票
1 回答
402 浏览

scala - 使用 zeebe 输入/输出映射发送 jsonPath

目前正在使用Scalazeebe,在我的 bpmn 我有一些服务任务,它获取或发送 json 的数据类型,我的主要目标是解析这个数据 jsonpath,例如:

ServiceTask 从一些 REST API 发出获取请求,我可以得到

通过给jsonpath = "$.glossary.GlossDiv.GlossList.GlossEntry.GlossDef",但我想在我的zeebe bpnm 上写这个 json 路径,我不知道如何访问 zeebe jobWorker 输入/输出变量

在此处输入图像描述

主要问题是我如何访问和使用 ioMapping,如下所示:

0 投票
1 回答
166 浏览

go - yaml 工作流程缺少开始标记

我正在尝试使用 Go 客户端以编程方式管理工作流程。我正在使用 yaml,这是我的工作流程:

当我部署它时,我无法在 camunda 操作中将其可视化,页面卡在加载中,并且在控制台中出现此错误:

0 投票
2 回答
3930 浏览

java - io.netty.handler.codec.http2.Http2Exception:意外的 HTTP/1.x 请求:GET /

我想测试 Zeebe(camunda 版本)然后我按照以下文档中描述的步骤进行操作。简而言之,我将 Zeebe 作为基于命令的 docker 容器运行docker run --name zeebe -p 26500:26500 camunda/zeebe:latest

查看最初的日志,一切似乎都运行良好。但是,当我尝试使用 Chrome 访问代理时,我可以在日志中看到以下错误:

我使用 zbctl (zbctl status --insecure) 检查了 Zeebe 状态,它看起来很健康:

有没有人见过这个问题?

0 投票
1 回答
324 浏览

java - Converting YAML to Java Object

I'm currently working with the Zeebe workflow execution engine, and am trying to properly upgrade one of the exporters from using a TOML configuration file to a YAML file. Here is the original TOML:

This is, currently, how I have it translated to YAML:

I'm currently having an issue with the exporter during this method:

When I look at how the broker parses the YAML, it shows this JSON Object:

Specifically this part:

Should be:

I'm also getting this error from the main broker which calls this exporter:

So basically, what I currently wanna know is, is this an issue with the YAML formatting, or with the code itself? I ran through the unit tests for the exporter and even upgraded the dependencies to the current version (which caused the breaking change) but the tests all pass fine. The code base for the exporter is here: https://github.com/zeebe-io/zeebe-kafka-exporter and the broker is here: https://github.com/zeebe-io/zeebe. Any help would be greatly appreciated.

0 投票
1 回答
35 浏览

spring-boot - 我们如何在 zeebe 处理程序中调用 Hystrix 的后备方法?

我有一个名为支付服务的服务已关闭,这在 zeebe 处理程序中被调用。由于服务已关闭,它应该调用 hystrix 的 fallbackmethod。但它让我成功了。

主班 在此处输入图像描述

控制器类 在此处输入图像描述

委托类 在此处输入图像描述

当我执行 localhost:8081/order-process 时,它显示我成功。并且在控制台中,我收到错误为“ http://localhost:8080/payment-service ”的 GET 请求的 I/O 错误:连接被拒绝:

请让我知道为什么这个后备方法没有被调用。

0 投票
2 回答
685 浏览

spring-boot - 通过 Spring Boot 部署 Zeebe

我想通过 Spring Boot Zeebe starter 部署多个 BPMN 文件

这就是我当前指定部署的方式

关于如何部署两个以上 bpmn 文件的任何建议?

参考:https ://github.com/zeebe-io/spring-zeebe


编辑:

我确实尝试过这样的事情

收到以下错误: