Skip to content

Commit

Permalink
docs: updated README with section for Multi-tenancy
Browse files Browse the repository at this point in the history
  • Loading branch information
VonDerBeck committed Dec 30, 2024
1 parent c4c528b commit 708b39d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,22 @@ public class ManualJobHandler : IAsyncZeebeWorker
Please be aware, that uncatched exceptions still lead to sending fail commands (or error commands in case of `BpmnErrorException`).
It's the responsibility of the worker implementation to catch and handle all exceptions if a different behaviour is intended.

### Multi-tenancy
*Since 2.1.12*

Multi-tenancy in the context of Camunda 8 refers to the ability of Camunda 8 to serve multiple distinct tenants or clients within a single installation.
Hence you can configure a job worker to pick up jobs belonging to one or more tenants:

```csharp
[TenantIds("myTenant", "myOtherTenant")]
public class TenantSpecificJobHandler : IAsyncZeebeWorker
{
...
}
```

Alternatively you can set default tenants using the `TenantIds` attribute in the `Worker` section of your *ZeebeConfiguration*.

### Dynamic message receiver

See [Example for synchronous responses from processes](https://github.com/camunda-community-hub/camunda-8-examples/tree/main/synchronous-response-springboot) for a description of the scenario.
Expand Down

0 comments on commit 708b39d

Please sign in to comment.