using var p = new ProducerBuilder<string, string>(config).Build(); // Send the message to our test topic in Kafka var dr = await p.ProduceAsync("test", message);
using var c = new ConsumerBuilder<Ignore, string>(conf).Build(); c.Subscribe("test"); // Consume a message from the test topic. var cr = c.Consume(cts.Token);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)