-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add/update attributes in event schema #634
Comments
What about a no-store flag which if true (default false) would prevent things from being streamed to any long term storage? Essentially this would allow the originator to request that the chain of events isn’t stored anywhere - great for use cases like testing against live services. |
in terms of the ID didn't we establish that messages have an ID already? |
Also should the sender be split into (This has made me think that the namespace is probably common to the whole workspace, making it redundant for this purpose) |
Good idea. There's a slightly related
There is but it's pub/sub specific so won't be there for other backends and won't be consistent with the ID we add for them.
I think we should add the namespace as we may have more than one namespace in a workspace. What's the use case for splitting the SRUID into its three parts instead of keeping it whole? |
How would the |
Now that we have a store, if we wanted not to store logs in general, we would probably store them but clean up after 7 days (or whatever period). Of course if you don't want to see logs, but don't care about service performance (or maybe want them stored for posterity), you can still stream them to the store and simply filter out the log event kind in your subscription or query. However, the I would leave it alone, since it's still a legitimate feature albeit unused to date... unless it's getting in the way somehow in which case feel free to steamroller it.
ah, ok
What's the use case for splitting the SRUID into its three parts instead of keeping it whole? You want to be able to filter on:
My understanding of the filters is that they use equality match (
Whereas if you had attributes
|
You could actually do this with the filter If we're splitting the SRUID like this, I'll have to do it for three fields, not just one:
Is that ok or too much? It's still well within the maximum number of attributes we can have (100). |
That's actually too much; if there's a hasPrefix filter that totally meets our use case without overcompensating things. (I thought you could only filter on match) I can't imagine a clear use case where we'd want the later example you have (all services named x from different namespaces) so let's not worry about that. (TBH I'm still not convinced that namespace would ever change at all in these tables anyhow, rendering it moot) |
Oh no I just added and tested all of those |
Still wondering about this. Save diagnosticsWhen
When Store eventsIn contrast, when
When The differenceThe two have a partially overlapping use case but have some key differences.
I think:
|
Feature request
Use Case
sender
attribute to make it easier to find the SRUID of the child from a messageuuid
orid
recipient
originator
(question originator)message_number
toorder
version
tosender_sdk_version
?no_store
flag?The text was updated successfully, but these errors were encountered: