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

feat: Add support for new stream name #113

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

john-gom
Copy link
Collaborator

Signed-off-by: John Gomersall [email protected]

What

  • Support new stream name of "product_updates"

Addresses

Signed-off-by: John Gomersall <[email protected]>
@john-gom john-gom requested a review from a team as a code owner December 12, 2024 14:44
@john-gom john-gom linked an issue Dec 12, 2024 that may be closed by this pull request
id: lastMessageId,
},
// Following can be deleted after PO is updated to use generic stream name
// Note should strictly have a different message id but PO will take more than one millisecond to switch

Choose a reason for hiding this comment

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

We won't switch all 4 flavors at the exact same time, hopefully it won't be an issue as the non food products will be ignored anyway.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was more because PO will switch from using the product_updates_off stream to product_updates. In theory the message id is only unique per stream, but it is prefixed with the time in milliseconds so using the same "last" message id to track the transition shouldn't be a problem.

Copy link

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Thank you!

@john-gom john-gom merged commit bfa83f1 into main Dec 12, 2024
6 checks passed
@john-gom john-gom deleted the 112-support-new-multi-flavour-stream-name branch December 12, 2024 15:32
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.

Support new multi-flavour stream name
2 participants