Selective synchronisation


I’m building a little app to help me get a better understanding of streaming architectures and I want to use resgate as the glue between my backend (kafka) and my web frontend.

Something I’m having a hard time with is after logging into my app, how do I only get events that I’m allowed to see?

Imagine logging into the app and balance updates from everywhere starts streaming to you? From what I’ve seen, if I subscribe to a get.account.balance topic, I’ll receive everybody’s balance updates?

Would appreciate any help / pointers.