Open blenddata opened 3 years ago
@blenddata I apologise for the late answer. Indeed adding implementation of IExternalEventProducer
is a valid option.
The other is to create a CapPipeline
as I did for EventStorePipeline. Your implementation would need to implement custom Handle with storing to Cap. Thanks to that, each event published to IEventBus will be automatically stored there.
Btw. I didn't know Cap before. Looks interesting. I also plan to write my Outbox implementation but didn't have enough time yet.
@oskardudycz thank you, I think the pipeline is the better option, which every notification will be publish into cap and outbox will be implemented automatically. I'll do that and keep you inform about the result.
Sounds good. 🤞
Hi nice work here can you explain how to add Cap before publishing event to the message broker to enable outbox pattern in your code? I assume it has to be added in your
IExternalEventProducer
to publish in Cap instead of Kafka the Cap send it to Kafka after persist it into database but don't have any idea where to consume it, if you don't mind give me some guide Thanks in advance