iggy-rs / iggy

Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second.
https://iggy.rs
MIT License
1.75k stars 81 forks source link

Refactor shard event handler #1010

Open numinnex opened 1 week ago

numinnex commented 1 week ago

Currently the handler that handles events emitted by other shards, reuses already existing methods that on top of creating a resource, persist it to disk. It's good idea to create equivalents that are dedicated to handle events.