Support Kafka
Until Docker integration testing is ready (#425), maybe setup a free plan using https://www.cloudkarafka.com/plans.html
Use https://github.com/confluentinc/confluent-kafka-dotnet as its the recommended client from Microsoft.
Hi @rasmus,
Looks like EventFlow is the most mature DDD/CQRS/ES library for C# out there, kudos for that!
I'm looking into adopting it on different projects but I'm gonna be using Kafka as the main event store / service bus. Any idea how hard would be to implement Kafka support on my own? Or is there any active workstream for adding kafka support other than this issue?
Thank you
@RTodorov the persistence layer in EventFlow is defined by the IEventPersistence which isn't that complex.
You could get some inspiration for how to implement it by looking at some of the existing implementations, e.g. the InMemoryEventPersistence
If you do select to do the implementation, then the event persistence test suite that EventFlow uses to tests its implementations are shipped in the EventFlow.TestHelpers NuGet package, specifically the class TestSuiteForEventStore. Setting it up is rather simple, have a look at the MsSqlEventStoreTests to get an idea on how to get started.
If you get a working implementation along with a suite of integration tests, then we could add it to the repo.
Hope that helps.
@rasmus I'm curious, would supporting a basic Kafka extension really be that different than the existing RabbitMQ extension?
Hello there!
We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. We consider this issue to be stale and will be closing it within the next seven days.
If you still require assistance with this issue, please feel free to reopen it or create a new issue.
Thank you for your understanding and cooperation.
Best regards, EventFlow
Hello there!
This issue has been closed due to inactivity for seven days. If you believe this issue still needs attention, please feel free to open a new issue or comment on this one to request its reopening.
Thank you for your contribution to this repository.
Best regards, EventFlow