kafunk
kafunk copied to clipboard
C# adapter
Create a CSharp.fs with namespace Kafunk.CSharp with adapters for idiomatic C#. Some thoughts:
- Convert
AsynctoTask. - Convert the functional ADP style, to a OOP style:
KafkaConnectionclass wrappingKafkaConn, with methods for each API operation.KafkaConsumerclass wrappingConsumer, with methods to start consumption, accepting a callabackKafkaProducerclass wrappingProducer, with a method to produce a message.