Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(broker): add multitenancy configuration #3171

Merged
merged 8 commits into from
Feb 12, 2024
Merged

fix(broker): add multitenancy configuration #3171

merged 8 commits into from
Feb 12, 2024

Conversation

nloding
Copy link
Contributor

@nloding nloding commented Jan 5, 2024

Description

Add multitenancy variable configuration to the Zeebe Broker. It was previously undocumented, but if you are using an embedded gateway configuration, you need to use the broker settings rather than the gateway settings.

When should this change go live?

  • This change is not yet live and should not be merged until {ADD_DATE} (apply hold label or convert to draft PR)?
  • There is no urgency with this change.
  • This change or page is part of a marketing blog, conference talk, or something else on a schedule.
  • This functionality is already available but undocumented.
  • This is a bug fix or security concern.

PR Checklist

  • I have added changes to the relevant /versioned_docs directory, or they are not for an already released version.
  • I have added changes to the main /docs directory (aka /next/), or they are not for future versions.
  • My changes require an Engineering review, and I've assigned an engineering manager or tech lead as a reviewer, or my changes do not require an Engineering review.
  • My changes require a technical writer review, and I've assigned @christinaausley as a reviewer, or my changes do not require a technical writer review.

Copy link
Contributor

github-actions bot commented Jan 5, 2024

👋 🤖 ✅ Looks like the changes were ported across versions, nice job! 🎉

You can read more about the versioning within our docs in our documentation guidelines.

@nloding
Copy link
Contributor Author

nloding commented Jan 5, 2024

After pushing this, I realized that the broker configuration guide doesn't have any of the ZEEBE_BROKER_GATEWAY_SECURITY_* variables documented either, which are required to set the identity.baseUrl property required by multi-tenancy ... see these variables here: https://github.com/camunda/camunda-platform/blob/main/docker-compose.yaml#L21-L24C46

@akeller
Copy link
Member

akeller commented Jan 5, 2024

@koevskinikola @Ben-Sheppard can we get your input here? This closes the loop on an open community feedback topic @nloding has been working.

See these threads/PRs for more context:

@Ben-Sheppard see @nloding's comment above this one re: identity.baseUrl.

@akeller akeller added the component:docs Documentation improvements, including new or updated content label Jan 5, 2024
@akeller akeller added the hold This issue is parked, do not merge. label Jan 5, 2024
@akeller
Copy link
Member

akeller commented Jan 5, 2024

Adding the hold label so we can collaborate and not view this as blocking for the 8.4 release.

@nloding
Copy link
Contributor Author

nloding commented Jan 5, 2024

I copied/pasted/updated the security.authentication variables from the gateway config to the broker config. There was one value in the gateway config (ZEEBE_GATEWAY_SECURITY_AUTHENTICATION_IDENTITY_TYPE) that I am not familiar with and isn't needed for MT, so I left it out. I am unsure if that's a valid variable for the broker config and should be included in the docs? My outstanding questions, which may or may not be within the scope of this PR:

  • With the authentication/Identity values in Zeebe being deprecated in 8.4, are my updates to the broker page valid?
  • What other variables are missing? :)
  • The variables on the gateway page are listed a different order than the broker page; I think they should follow the same order. The broker page is alphabetical, which I think makes sense for long term maintenance. Should we standardize this?

@akeller
Copy link
Member

akeller commented Jan 9, 2024

The variables on the gateway page are listed a different order than the broker page; I think they should follow the same order. The broker page is alphabetical, which I think makes sense for long term maintenance. Should we standardize this?

I'm not sure I see an order on either page. The order should match the template on the Zeebe repo.

@koevskinikola
Copy link
Member

Hi @akeller @nloding,

Unfortunately, I haven't had a lot of time in the last two weeks to review this PR. I will probably be able to review it properly after 22.01.2024.

If a review is more urgent, then please ask another Zeebe team member to have a look. The changes are more related to the structure of the docs related to the Zeebe config properties rather than multi-tenancy.

From just a quick look at the PR, I can note that the changes make the Broker configuration page look a bit inconsistent since we're only mirroring the Gateway properties related to multi-tenancy. That might be even more confusing to users.

Copy link
Member

@koevskinikola koevskinikola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nloding @akeller I finally managed to review this PR.

In general the text looks good, I'm just worried that it will cause some confusion if we structure it like this. I left some suggestions on how we can avoid that.

@akeller
Copy link
Member

akeller commented Feb 8, 2024

Made a few adjustments to this PR.

@akeller akeller requested a review from koevskinikola February 8, 2024 21:34
@nloding
Copy link
Contributor Author

nloding commented Feb 9, 2024

This looks great! 🚀

@akeller akeller added component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed and removed hold This issue is parked, do not merge. labels Feb 9, 2024
@akeller akeller dismissed koevskinikola’s stale review February 9, 2024 22:13

Addressed in recent commit.

@akeller akeller enabled auto-merge (squash) February 9, 2024 22:53
@akeller akeller merged commit d1ed324 into main Feb 12, 2024
6 checks passed
@akeller akeller deleted the nloding-broker-mt branch February 12, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:docs Documentation improvements, including new or updated content component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants