camunda-community-hub/zeebe-client-csharp

Add support for TenantId

Opened this issue · 7 comments

Describe the solution you'd like
Adding a new argument to to the various builders to add a tenantId. New commands that support tenantId look to be:

NewActivateJobsCommand()
NewCreateProcessInstanceCommand()
NewDeployCommand()
NewEvaluateDecisionCommand()
NewPublishMessageCommand()

I imagine something like the following would be ideal:

IDeployResourceResponse? deployResponse = await client
	.NewDeployCommand()
        .AddTenantId("12345")
	.AddResource("test.bpmn")
	.Send();

Additional context
With the release of Camunda 8.3, it added support for multi-tenancy.

Hey @Zelldon - Got a thumbs up from ya, but wanted to follow up and see if this is an active feature you're working on or if it's something you'd prefer the community to add? This a feature I'm highly looking forward to being able to leverage as soon as possible so just wanted to gauge the timeline.

Thanks!

Thumbs up for raising interest in the project and a missing feature :)

I will not give any eta since it is a side project I working on in my free time but sure go forward and create a PR we can discuss details their.

Would be great if you could do this in small chunks one per command incl tests

Got a little busy with other projects and deadlines, but intend to revisit this feature request fairly soon as I believe multi tenancy support for camunda 8 cloud is slated for an April release and we will need to take advantage of it asap.

Thanks for your patience!

Hi,

Is there a date for adding the tenantId feature when creating a worker like in java client?

client.newWorker()
.jobType("myJobType")
.handler(new MyJobTypeHandler())
.tenantId("myTenant")
.open();

client.newWorker()
.jobType("myJobType")
.handler(new MyJobTypeHandler())
.tenantIds("myTenant", "myOtherTenant")
.open();

No set date for me completing this work. Multi-Tenancy support for Camunda 8 cloud was originally suppose to hit in April but has been delayed until later this year and I'm tied up with other things. Believe the foundation has been set for updating the remaining interfaces though.

Looks like multi-tenancy support in the camunda saas has been delayed by another release.... hopefully we get it in Janurary.. In the meantime any word on the final 2 PRs would be appreciated so this issue can be closed!