C# adapter
Opened this issue · 0 comments
eulerfx commented
Create a CSharp.fs
with namespace Kafunk.CSharp
with adapters for idiomatic C#. Some thoughts:
- Convert
Async
toTask
. - Convert the functional ADP style, to a OOP style:
KafkaConnection
class wrappingKafkaConn
, with methods for each API operation.KafkaConsumer
class wrappingConsumer
, with methods to start consumption, accepting a callabackKafkaProducer
class wrappingProducer
, with a method to produce a message.