-
Notifications
You must be signed in to change notification settings - Fork 8
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
Possible changes to Message Resource #144
Labels
Comments
An example:
|
This issue is stale because it has been open for 30 days with no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today, Endpoints, with Message inlined, looks like this:
One issue with this is that often times messages/events are sent over different protocol, with different "envelopes" and even different formats (json vs xml). In order to represent that the SAME bit of content(data) has these alternatives many different instances of a Message needs to be created. It is then up to the Registry maintainer to find a way to correlate all of these Messages together and to keep them all in-sync if changes are needed.
If we view the content as the central piece of data of interest, we then have an hourglass type of structure around it - with the content being the middle of the hourglass. For example, abstractly we have:
Endpoints -> Messages -> Envelopes -> CONTENT -> schemes
Notice that all of those entities can have multiple instances of them except CONTENT - hence the (sort of) hourglass idea.
The proposal is to allow for a single definition of CONTENT to be associated with multiple entities above and below it in the above abstract model:
The Endpoints
format
andprotocol
attributes become selectors for the Message - this is how the Endpoint indicates which one it supports.Do we need a "content" selector for which schema it'll use? Mainly when it's a producer of messages.
While there are questions in the Endpoint section, this issue is really about changing the Message entity.
The text was updated successfully, but these errors were encountered: