-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add namespace to schemas (#212)
Add namespace to event schemas. This should be able to be deployed the producer and consumer in any order. This will make the schema for a topic look like { "doc": "Avro Event Format for CloudEvents created with openedx_events/schema", "fields": [<no change>], "name": "CloudEvent", "namespace": "org.openedx.content_authoring.course.catalog_info.changed.v1", "type": "record" } Adding the namespace ensures that there is no conflict when registering schemas by topic/record name, which is how we will be allowing more than one event type per topic. It will also make it easier to identify schemas for use in Avro unions if other users want to try that route.
- Loading branch information
Rebecca Graber
authored
May 8, 2023
1 parent
8182d0d
commit 06635f3
Showing
6 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
more information about the project. | ||
""" | ||
|
||
__version__ = "7.1.0" | ||
__version__ = "7.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters