Skip to content

Super stream support #32

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

Merged
merged 7 commits into from
Sep 27, 2021
Merged

Super stream support #32

merged 7 commits into from
Sep 27, 2021

Conversation

acogoluegnes
Copy link
Contributor

No description provided.

@acogoluegnes acogoluegnes changed the title Super stream consumer Super stream support Sep 20, 2021
Offset storage on a given message trigger the storage for other
partitions in the super stream.
The metadata of the super stream are now provided in the
route method. This abstraction hides the infrastructure
needed to find out about the super stream topology.

The user can now have full control over the routing strategy,
even though the provided implementations ("hash" and "key")
should be enough most of the time.

The configuration of the routing strategy has been also refactored
to reflect the change and to be simpler.
The message count before storage setting is divided by the
number of partitions to make sure we store offsets
approximately as set on the consumer builder (assuming
partitions are balanced).
@acogoluegnes acogoluegnes added this to the 0.5.0 milestone Sep 27, 2021
@acogoluegnes acogoluegnes added the enhancement New feature or request label Sep 27, 2021
@acogoluegnes acogoluegnes marked this pull request as ready for review September 27, 2021 14:16
@acogoluegnes acogoluegnes merged commit 067c15d into main Sep 27, 2021
pivotal-rabbitmq-ci pushed a commit that referenced this pull request Sep 27, 2021
@acogoluegnes acogoluegnes deleted the super-stream-consumer branch December 2, 2021 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant