I am using confluent kafka library for .net which is built on top of librdkafka. As per documentation over here : https://github.com/edenhill/librdkafka/blob/master/INTRODUCTION.md#ssl
If ssl.ca.location is not set it will probe default paths.
When…
I am currently in the situation where I need to commit two transaction,
one going towards the database (postgres, interacted with the npgsql library), and the one going on a kafka message bus (interacted with the confluent.kafka library).
Both…
Suppose I have a topic "test" which already have bunch of messages and now I want to subscribe to the topic. But I don't want to consume all the messages which are being published previous to the new subscription. Basically I want to consume only…
I'm trying to figure out if there is any way to programmatically check if provided credentials have read and write access to different Kafka topics using the Confluent Kafka lib for .NET.
What I want to do is basically a smoke test upon system…
Description
I'm using this kafka client - https://github.com/confluentinc/confluent-kafka-dotnet
Consumers hangs when committing offset after few seconds internet connection lost.
How to reproduce
I have running working consumer - everything is OK.…
I created a kafka consumer that executes on a batch process for a single partitioned topic. Every 15 minutes, my batch process will execute and consume all new messages that have been published to the topic. After consuming all available messages…
I'm using version 7.1.4 of MassTransit with .Net Core 3.1, ASP.NET Core Web Application. It happens when I close the application by Ctrl + C. When I press stop debugging button, it doesn't occur. The code responsible for registration goes as…
I do have a .Net code that I'm using in a windows service that has the process of initializing a consumer object and consuming the Kafka.
var config = new ProducerConfig
{
BootstrapServers = "host1:9092,host2:9092,...",
ClientId = ...,
…
I am trying to use the Confluent .Net client (1.5.2) to connect to an Azure Event Hub but I keep getting an SSL handshake failed error.
My Confluent ProducerConfig looks like this:
var config = new ProducerConfig
{
BootstrapServers =…
I am new Kafka user and have managed to get a docker-compose stack working locally to successfully run functional tests from an ASP.NET Core 3.1 test service. This exists within the same docker-compose stack as Kafa, Zookeeper and Rest-Proxy…
I am very new to DI and Autofac. I have a singleton class ProducerService, as listed below. This is used as a dependency in the constructor of a BackgroundService. The ProducerService has a constructor injected dependency, IKafkaProducerAggregate,…
I am using Confluent kafka package in my recent c# project. I created a producer in the following way:
prodConfig = new ProducerConfig { BootstrapServers = "xxx.xxx.xxx.xxx:xxx"};
foreach(msg in msglist){
using(var producer = new…
I am trying to write messages into Kafka and below is my producer where if i use produce it has DeliveryHandler and i could access DeliveryReport, but when i use ProduceAsync then the return type is deliveryResult how do i get DeliveryReport and log…
I'm currently building publisher and consumer assets using Confluent.Kafka and I'm trying to understand if there is anything different I need to do in code. I'm able to create the topic log compaction but I do not fully understand how to work with…