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

hotfix/dev-107.4.0 -> develop #2063

Closed
wants to merge 15 commits into from
Closed

hotfix/dev-107.4.0 -> develop #2063

wants to merge 15 commits into from

Conversation

fhaScireum
Copy link
Contributor

Description

Additional Notes

  • This PR fixes or works on following ticket(s): SIRI-
  • This PR is related to PR:

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices
  • Patch Tasks: Is local execution of Patch Tasks necessary? If so, please also mark the PR with the tag.

fhaScireum and others added 15 commits December 12, 2024 11:49
Events have no ID or other distinct fields and multiple events may be recoreded at the same time, fetching a block must start at the time of the last event of the previous batch (inclusively).

To prevent duplicates and because no fields are distinct by default, callers must provide a duplicate preventer based on the type of events they wish to fetch.

Fixes: SE-14230
(cherry picked from commit eb19a72)
…only the user data is important.

This will e.g. allow re-using constraints on the user data fields for different event types as well as to allow a default duplicate preventer for streaming events (in a future commit).

An interface is used instead of an abstract class to keep the inheritance limitations low.

Fixes: SE-14230
(cherry picked from commit 198ac89)
…ter.

Fixes: SE-14230
(cherry picked from commit 612f676)
… preventer.

Fixes: SE-14230
(cherry picked from commit ca6a5c8)
Fixes: SE-14230
(cherry picked from commit a75e2f5)
Fixes: SE-14230
(cherry picked from commit 6ff0eba)
…ist of events to the duplicate preventer.

In case of user events, the timestamp is now only added once and not for each event.

Fixes: SE-14230
(cherry picked from commit 4027414)
…ng the caller to provide distinct fields.

Duplicates are then prevented by ignoring all events for the same timestamp where all fields match one of the previously fetched events.

Fixes: SE-14230
(cherry picked from commit 0d9de1f)
…pe and tenant ID.

While the user ID is most probably already unique to the type of event queried, that mustn't be the case for all events.

Fixes: SE-14230
(cherry picked from commit d40bbbc)
Co-authored-by: Sascha Bieberstein <sabieber@users.noreply.github.com>
Co-authored-by: Matthias Keck <60612914+mkeckmkeck@users.noreply.github.com>
(cherry picked from commit 4334479)
… example.

Fixes: SE-14230
(cherry picked from commit c79ad96)
Fixes: SE-14230
(cherry picked from commit 707c3b0)
…aming-Hotfix

SE-14230: Cherry Picks Event Streaming for Hotfix
Copy link

This PR can only be merged after at least one of our categorizing labels has been added: 💣 BREAKING CHANGE, 🧬 Enhancement, 🐛 Bugfix, 🛠️ Maintenance, ⬆️ Dependencies

@fhaScireum fhaScireum closed this Dec 12, 2024
@fhaScireum fhaScireum deleted the hotfix/dev-107.4.0 branch December 12, 2024 15:15
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