EventFlow icon indicating copy to clipboard operation
EventFlow copied to clipboard

Support Kafka

Open rasmus opened this issue 7 years ago • 3 comments

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.

rasmus avatar May 18 '18 09:05 rasmus

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 avatar Feb 11 '19 10:02 RTodorov

@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 avatar Feb 13 '19 18:02 rasmus

@rasmus I'm curious, would supporting a basic Kafka extension really be that different than the existing RabbitMQ extension?

ahernandez-allegion avatar Jul 14 '20 01:07 ahernandez-allegion

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

github-actions[bot] avatar Apr 08 '23 13:04 github-actions[bot]

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

github-actions[bot] avatar Apr 16 '23 09:04 github-actions[bot]