-
Notifications
You must be signed in to change notification settings - Fork 98
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 documentation entry for filter values #121
Comments
This is an excellent idea. In fact an overarching documentation on the concepts of Filters and how they are implemented would be a good idea. |
Context: #118 (comment) With 'Filter invocation values' I'm thinking it isn't very descriptive on its own and more describes how the data is used rather than what it is - e.g hearing 'Filter Invocation Values' - my guess might be the contents of Envoy seems to provide something similar to this: metadata and per-request/connection state to, from and between filters They have the concept of dynamic state and lower level call it dynamic metadata |
Excellent suggestion going to check on Envoy. I definitely like this idea of "dynamic state"! - this follows nicely with Envoy, and I think the concepts overlap nicely. I'd also be happy to rename I don't mind the idea of referring to this instead as "metadata" - but for some reason I feel like metadata is more descriptive of the packet... rather than being transitive state of the invocation... but ultimately, it probably doesn't actually matter.
Just thought I'd throw this out there as well, just as a thought to see if it stuck? |
I would prefer
My thinking was that yeah to some extent it does contain info about the packet, in that, anything added to it is supposed to be in the context of processing the packet e.g the auth token is arguably metadata about the packet, and that they only really differ from the regular static metadata like address and port in that they're generated on the fly, hence the
Ah, In my mind the I think Request and Response wouldn't fit very well because it'll suggest a request/response flow which won't be correct - the closest we have to a connection/request flow is sessions and by the time |
That makes sense. I also don't have super strong feelings between the two. So sounds like we're calling it dynamic metadata then! 👍 I'm also assuming then that we'll also rename
Makes sense too. Like I said - wanted to see if it stuck. Seems like no change required there then! 👍 |
Sounds good! This ticket will cover the following then:
|
Also will want to switch quilkin/src/extensions/filters/capture_bytes/mod.rs Lines 49 to 51 in 12fc6ec
|
Bringing this naming inline with #121
Bringing this naming inline with #121
Confirming before closing - but I think this is all good to close as we've completed this here: |
Yes! we can close this |
We now have the concept of filter value https://github.com/googleforgames/quilkin/blob/master/src/extensions/filter_registry.rs#L36 and would like to mention this in the documentation - this can be done e.g in a sub-section of the filter documentation
The text was updated successfully, but these errors were encountered: