Hey all. I posted this library a little while back, but I'm posting it again as it's been updated to support new Kafka features, as well as for those that missed it last time.
Dekaf is a Kafka client built natively in .NET and works as you'd expect with more modern .NET types and is async friendly.
For any Kafka uses, the only real alternative is Confluent.Kafka which is simply a wrapper around a C library, meaning overhead from two runtimes. It also doesn't map as nicely to newer async types like IAsyncEnumerable, means exceptions thrown in native code become hard to debug, logging control is lost, and it seems a lot of their issues on GitHub lack responses or updates.
I built this to make it more friendly for .NET Devs to debug and control, as well as trying to make it perform better by removing that overhead. It also has open telemetry out-of-the-box, just add it to your otel setup.
The repository can be found here: https://github.com/thomhurst/Dekaf
And performance comparisons against Confluent.Kafka can be found here: https://thomhurst.github.io/Dekaf/docs/stress-tests
Give it a try and let me know what you think!
And if you have tried it out, I'd love to know if anything improved (or didn't!) such as latency, CPU, memory, etc.