Split filters into read
and write
branches in configuration.
#637
Labels
kind/feature
New feature or request
read
and write
branches in configuration.
#637
As I've been writing more complex filtering schemas the current single stream has struggle scaling. One example, is I have a protocol that goes through nine filters (through capturing, matching, and then using in something like TokenRouter) when reading packets from downstream, but only goes through one filter when writing data to downstream. This makes hard to see and reason with (should the write filter be at the top or bottom or in the middle, given that neither filters relate to each other and any position would be valid). This also simplifies filter configuration, as filters will no longer have to remember both their "read" version and "write" version of their config, instead they can have a single configuration that works for both cases.
I think we should split it into
filters.read
andfilters.write
to make it more clear what "stream" you're filtering at a given moment.The text was updated successfully, but these errors were encountered: