-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Discovery] Handle multiple lifecycle events on single event bus topic #78
Comments
Moved from original private ticket: https://2u-internal.atlassian.net/browse/ARCHBOM-2008 |
Move some of these notes into the doc ticket, and closing this. |
Note: This was closed without completing, and will remain closed (for now). However, I just updated the how-to to refer to this closed ticket: https://openedx.atlassian.net/wiki/spaces/AC/pages/3508699151/How+to+start+using+the+Event+Bus#Event-design. Other considerations for ordering will include Redis Streams capabilities, which don't have the same partiton ordering guarantees as Kafka. Here are docs that I moved from the how-to back to this ticket here:
|
I'm re-opening this ticket because I want to make progress on it, and it is difficult to find as a closed ticket. :) |
Also, we would need to update docs on naming conventions for topics if someone plans to add multiple events, since the topic name would no longer match 1-to-1. This should possibly planned for even if only the first of multiple events are being published? |
It may be that some lifecycle events all match the same schema(???), and in this case, they all might be able to be written to the same topic with no change (i.e. just allowing the single schema). |
If you look at
|
@rgraber: You are welcome to test that sharing the same data structure is enough to make this work when that is the case. At the same time, I would like to understanding how this works for signals that don't share the same data structure. Note that the first events of this type will likely be these XBLOCK_ events, and one has different data. |
|
Closing this. Updating documentation will be added as part of openedx/event-bus-kafka#164 |
This is a bit of a discovery ticket.
Acceptance Criteria:
Notes:
Questions:
event_type
, event definition (signal), data class, etc. for the proposed solution?The text was updated successfully, but these errors were encountered: