Skip to content

Conversation

@awrichar
Copy link
Contributor

@awrichar awrichar commented Feb 2, 2024

Mainline version of FireFly now supports batch delivery of events over websockets: hyperledger/firefly#1447
This PR adds support for consuming batched events, and adds a related option for calling "findData" to fetch all data related to a batch of messages.

Also adds a missing getSubscription API (not a new feature, just missing).

Signed-off-by: Andrew Richardson <[email protected]>
While the strongly-typed interface is useful in most cases, it does not support
some things, such as passing "id" multiple times in order to perform an "OR"
query.

Adding this to the "findData" API now since bulk fetching of data is a very
common case - but we may want to consider adding it to all/most getters.

Signed-off-by: Andrew Richardson <[email protected]>
Copy link
Contributor

@nguyer nguyer left a comment

Choose a reason for hiding this comment

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

This looks good. Until this is available in a stable FireFly release, I would stick with a pre-release labelling of the SDK though.

@nguyer nguyer merged commit e5250fc into hyperledger:main Feb 2, 2024
@nguyer nguyer deleted the subscription branch February 2, 2024 18:13
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.

2 participants