• Refactoring an Actor Model System from Nact.io to Camunda Cloud

    This month marks the 20th anniversary of the Open Source Erlang language and the Erlang virtual machine. Renowned for its reliability, the ability to hot-patch running code, and the Actor model, Erlang has been incredibly influential in software development, particularly in scalable distributed systems. If you look through the Zeebe source code, you’ll see Actor components sprinkled throughout. Zeebe core engineer Deepthi Akkoorath did her PhD thesis in Scalable Consistency in theMulti-core Era and is a huge fan of Erlang. Here is a video of Deepthi describing the architecture of Zeebe, the workflow engine powering Camunda Cloud: https://www.youtube.com/watch?v=JbXKgQQmukE A couple of months ago, I wrote a statistics collector for the Camunda DevRel team. You can see the project in the...

    Read more
  • Complex multi-repo builds with GitHub Actions and Camunda Cloud

    BLUF (Bottom-line Up-front): GitHub Actions are AWESOME and will change your life, but you risk losing yourself in a microservices architecture of repos, or have to go monolith once you get a few dependent projects or cross service provider boundaries – unless you orchestrate. I show you how I did it in this article. Get access to the Camunda Cloud Public Access Beta here. Use the Zeebe GitHub Action to orchestrate multi-repo builds with Zeebe and Camunda Cloud. In this article: Preamble What are GitHub Actions? GitHub Actions: The Good GitHub Actions: The Bad GitHub Actions: The Ugly Custom CI with GitHub Actions and Camunda Cloud Zeebe GitHub Action Modelling the problem / solution Starting a Camunda Cloud workflow from...

    Read more
  • Incident Alert Exporter

    I took a break today from the article I’m working on about “Orchestrating GitHub Actions with Zeebe and Camunda Cloud” (stay tuned, because it is lit) to build an exporter for Zeebe, one that can alert you whenever an incident is raised – for example via Pushover, Pager Duty, or by calling you via the Twilio API. If you just want to see the code, it is on GitHub: Zeebe Incident Alerter. There are a couple of videos of the stream of me coding it at the end of the post if you want to see that. Using tutorials to write Zeebe extensions I followed a couple of tutorials from June last year to accomplish it – Writing a Zeebe...

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

    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. In combination with “serverless” functions, this can be used to achieve a zero-scale architecture. Cloudflare workers are serverless processes that run in response to REST requests at the edge of Cloudflare’s hosting infrastructure. “At the edge” means that a...

    Read more
  • Operational Monitoring: Zeebe Cloud Canary

    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). Both of these cases can be detected by probes. The broker has a readiness probe that can be monitored for this, and...

    Read more
  • Start using Camunda free today

    Sign Up

    Get the latest Developer Community Updates to your inbox

    Subscribe
  • Zeebe and Open Democracy in the Netherlands

    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

    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. This tutorial uses the JavaScript client, but it serves to illustrate message correlation concepts that are applicable to all language clients. We will use Simple Monitor to inspect the running workflow state. Simple Monitor is a community-supported tool, and is not designed to be used in production...

    Read more
  • Zeebe Workflows Inside a REST Request/Response

    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. Let’s look at the problem in more detail, how we can match it with Zeebe’s model, and a few different solutions that you can implement now. I’m going to be using the TypeScript Zeebe client for code examples in this article, but the concepts are...

    Read more