Skip to content

Conversation

@shorsher
Copy link
Member

@shorsher shorsher commented Jul 7, 2022

Now, both ethconnect and fabconnect subscription names contain the namespace name. This means that events will now be delivered only to the callback handler for that namespace, instead of every single callback handler. Older subscriptions will still be delivered to all handlers.

shorsher added 2 commits July 7, 2022 17:45
 - new ethconnect subscriptions now have namespace in the sub name
 - sub name format is: `ff-sub-<namespace>-<listener ID>

If a namespace is in the subscription name, now that event will only be
passed to the handler for that namespace. If not, all handlers will be
passed the event.

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
 - new fabconnect subscriptions now have namespace in the sub name
 - sub name format is: `ff-sub-<namespace>-<listener ID>

If a namespace is in the subscription name, now that event will only be
passed to the handler for that namespace. If not, all handlers will be
passed the event.

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Looks good - couple of minor comments for you to check over before merge.

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@shorsher shorsher merged commit 2adbebb into hyperledger:main Jul 8, 2022
@shorsher shorsher deleted the ns-contract-subs branch July 8, 2022 22:44
@shorsher shorsher mentioned this pull request Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants