open-consul/contributing/streaming/event-filtering.mmd
2020-12-08 13:35:38 -05:00

12 lines
451 B
Plaintext

graph TD
state.Store -->|events in different topics| EventPublisher.Publish
EventPublisher.Publish -->|group by topic| EventPublisher.topicBuffer
EventPublisher.topicBuffer --> Subscription
Subscription -->|filter by key and namespace| SubscribeEndpoint
SubscribeEndpoint -->|"filter by auth (acl token)"| ProtobufEvents[/ grpc /]
ProtobufEvents -->|filter with bexpr| MaterializedView
MaterializedView --> HTTPEndpoint