Skip to content

Commit 708b39d

Browse files
committed
docs: updated README with section for Multi-tenancy
1 parent c4c528b commit 708b39d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,22 @@ public class ManualJobHandler : IAsyncZeebeWorker
358358
Please be aware, that uncatched exceptions still lead to sending fail commands (or error commands in case of `BpmnErrorException`).
359359
It's the responsibility of the worker implementation to catch and handle all exceptions if a different behaviour is intended.
360360

361+
### Multi-tenancy
362+
*Since 2.1.12*
363+
364+
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.
365+
Hence you can configure a job worker to pick up jobs belonging to one or more tenants:
366+
367+
```csharp
368+
[TenantIds("myTenant", "myOtherTenant")]
369+
public class TenantSpecificJobHandler : IAsyncZeebeWorker
370+
{
371+
...
372+
}
373+
```
374+
375+
Alternatively you can set default tenants using the `TenantIds` attribute in the `Worker` section of your *ZeebeConfiguration*.
376+
361377
### Dynamic message receiver
362378

363379
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.

0 commit comments

Comments
 (0)