Use Cases

Going to Zero-Scale Zeebe on Camunda Cloud with Cloudflare Workers

by Josh Wulf on Dec 3 2019 in Cloud Slack Use cases .

I get questions about running Zeebe at “zero-scale”. That means workers that consume no resources when there are no tasks to perform. The Zeebe service on Camunda Cloud includes a generic HTTP-Worker that can be used to achieve this. The HTTP-Worker polls for jobs of type “Camunda-HTTP”, and then invokes a REST endpoint based on the HTTP verb and URL set in the task headers. If you are not on Camunda Cloud you can use zeebe-http-worker, or just write your own. Read more…

Operational Monitoring: Zeebe Cloud Canary

by Josh Wulf on Nov 3 2019 in Use Cases .

Designing a resilient system means planning for, and alerting on various failure states. The Zeebe Cloud Canary npm package adds alerting to your Node.js Zeebe applications. There are a few things that can go wrong in a Zeebe system that you definitely want to surface operationally. Your client applications might exception and halt. The broker might fail - whether due to a hardware failure or some edge-case condition that puts it in an infinite restart loop while recovering (it could be memory constrained, for example, and rescheduled by K8s before it can recover its state on boot up). Read more…

Zeebe and Open Democracy in the Netherlands

by Josh Wulf on Oct 20 2019 in Podcast Use Cases .

Jesse Van Muijden and his team, working in the Ministry of Social Welfare in the Netherlands, have developed a Zeebe-based system that brings transparency to government processes for citizens. In this interview, we talk about the tech stack: Node.js, Kafka.js, Java, Docker, and Zeebe, the innovative solution they’ve designed, and Jesse’s experience developing on Zeebe in a “beyond agile” project, even as Zeebe has been undergoing development. Check out the source code for their project on GitLab. Read more…

Zeebe Message Correlation

by Josh Wulf on Aug 14 2019 in Use Cases .

Message correlation is a powerful feature in Zeebe. It allows you to target a running workflow with a state update from an external system, asynchronously. You can use it to do things like: Update a workflow instance when an item ships from a warehouse, or a customer payment is processed. Cancel a running workflow when a user quits from a game server. Any event in the external world that influences your workflow state. Read more…

Zeebe Workflows Inside a REST Request/Response

by Josh Wulf on Aug 1 2019 in Use Cases .

In the Zeebe Slack and the Forum, a number of users have been inquiring about initiating a Zeebe workflow via a REST request, and returning the outcome of the workflow in the REST response. Zeebe workflows are fully decoupled, asynchronous, and have no awaitable outcome. This means there is nothing out-of-the-box right now to do this. We are evaluating demand for this feature in GitHub, both in terms of its eventual shape and its priority. Read more…

Real World BPMN with Zeebe and Minecraft

by Josh Wulf on Jun 17 2019 in Use Cases .

Here is a great example of how Zeebe and BPMN can be used to solve real-world business problems - in this case, in Minecraft!

Kids love to play Minecraft, and transferring that engagement to learning to code is a Good Thing(tm) Ultima VI recreated in Minecraft

Read more…

Data Pipeline Orchestration With Zeebe (And An Example Map/Reduce Implementation)

by Josh Wulf on May 8 2019 in Use Cases .

Zeebe can be used to orchestrate data-processing pipelines, such as image processing or machine learning. As discussed in Google’s Site Reliability Engineering book, one issue with data-processing pipelines is responding in a timely fashion to increased business demands. Zeebe is a stateful workflow engine, and state doesn’t scale horizontally - but Zeebe does. So you want to design your pipelines in a way that encapsulates and isolates state and allows you to scale up workers in the parts where you can parallelize work. Read more…

Zeebe and Fn Project Integrated: a Proof of Concept

by Artun Subasi on Apr 17 2019 in Use Cases .

Editor’s note: this post originally appeared on the Esentri blog. It was cross-posted here with Esentri’s permission. We’d like to give a shout-out to author Artun Subasi for his excellent blog post series on orchestrating serverless function with a workflow engine!

I’d like to demonstrate a Proof of Concept (PoC) which integrates Zeebe with the Fn Project in order to orchestrate serverless functions using Business Process Model Notation (BPMN).

Read more…