Skip to content

Conversation

@Zotyamester
Copy link

@Zotyamester Zotyamester commented Apr 2, 2025

Description

I have made some changes primarily related to the implementation of the SubscribeUpdate message.
While I was working on this, I kept finding new issues and inconsistencies between the draft and the code base. Some of which were closely related, and some of which had a bit more loose connection with the main objective. I decided to include them all in order to have a more complete changeset.

Related PRs and Issues

Supersedes:

Fixes:

To do this while adhering to the draft as much as possible, the following
changes had to be made:
* Add filter type parameter for subscribe calls
* Fix filter type checks in Subscribe encoding
* Remove SubscribeLocation according to draft-04
* Update Subscribe according to draft-08 (end -> end_group)
* Update FilterType according to draft-09 (remove LatestGroup)
* Change fields of SubscribeDone
* Introduce stream_count to `SubscribedState`
* Remove dependency on msg format from `Subscribed`
When a `Subscribe` or a `SubscribeUpdate` is received with a non-empty list of
Subscribe Parameters, a warning is logged to note the use of the unimplemented
feature.
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.

1 participant