pubsub/pstest: Support for subscription filters #8582
Labels
api: pubsub
Issues related to the Pub/Sub API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Nor the pubsub emulator or pstest support subscription filters, making it impossible to integrationtest a pubsub setup making use of filters today.
Describe the solution you'd like
There is an embryo in pstest for filters, they can be set and updated and there is a filterMsgs func where filters could be applied according to the documented filter rules. In other words, implement support for subscription filters in pstest
Describe alternatives you've considered
As mentioned, the pubsub emulator does not support subscription filters either…
Additional context
I could take a stab at implementing this if you peps at Google have limited resources ;)
The text was updated successfully, but these errors were encountered: