Open lsampras opened 4 months ago
Hey @lsampras! I would like to help with this issue. Can I work on this?
Hi @rishav-bose0, since this change is slightly spread out throughout the code base, I'd prefer if we connect on either slack or discord to formulate & plan the approach to solve this...
sure, I too had some doubts on the generic replacements. Let's connect on discord.
Currently we have hardcoded
KafkaStore
as a composite of StorageInterface along with a kafka producer, However we wanna make this more generic by substitutingKafkaProducer
with a genericMessageInterface
The final structure of
EventStore
would look likeThis refactor could be done in 2 parts as follows
MessageInterface
as a generic trait instead of fixedKafkaProducer
KafkaMessage
trait implementations and useMessageInterface
instead