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

Add shared subscriptions to broker ACL for project nodes #2225

Merged
merged 2 commits into from Jun 7, 2023

Conversation

knolleary
Copy link
Member

Description

Part of #2156

See also FlowFuse/nr-project-nodes#28

Adds support for using shared subscription topics on certain project-node topics.

Given we need to support both shared and non-shared versions of the topics, rather than copy/paste the rules, this adds a flag to indicate a topic can be handled as either plain or shared.

The share group id is required to the project/instance id.

It also adds a new rule for the response topic, to provide the ability for individual replicas to have a randomly generated component of the response topic.

Checklist

@knolleary knolleary requested a review from Steve-Mcl June 5, 2023 09:34
@knolleary
Copy link
Member Author

In draft to get eyes on the code earlier - still need to do some further validation before this can be merged.

@knolleary knolleary marked this pull request as ready for review June 5, 2023 11:39
@knolleary
Copy link
Member Author

@Steve-Mcl ready for review - tested with updated projects nodes. Will have a PR with those updates shortly.

@knolleary
Copy link
Member Author

@Steve-Mcl this side is good to review and merge so we can get onto staging. The outstanding work is in the project nodes.

@Steve-Mcl
Copy link
Contributor

Will do as my next task (aprox 10 mins)

Copy link
Contributor

@Steve-Mcl Steve-Mcl left a comment

Choose a reason for hiding this comment

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

local testing, project instance to instance verified.

@Steve-Mcl Steve-Mcl merged commit 39f8d51 into main Jun 7, 2023
3 checks passed
@Steve-Mcl Steve-Mcl deleted the 2156-shared-subs-auth branch June 7, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants