Trying to persist some data in MongoDB and publish a couple of messages to Kafka everything inside of a transaction. I was thinking of using the dotnet TransactionScope but I do not see how to apply it to the Confluent Kafka packages.
var…
I am facing the INVALID_PRODUCER_EPOCH error while committing or aborting the transaction.
Am running the my application in Windows 10 machine.
I have a single Producer and TransactionId is Random Guid, enabled Idempotence in producer as well. No…
We are reading messages from a Kafka-topic. I was under the (false) impression that by setting the EnableAutoOffsetStore/enable.auto.offset.store = false you, as a consumer could choose when you wanted to move the offset.
We were using this like…
I have received truststore.jks & keystore.jks file from a team who manages kafka. We are required to build a producer application in .NET using these .jks files. I have used below commands to convert .jks files to required format as .jks is not…
I am using dotnet to build a Kafka application and I found that this NuGet package from Confluent.
The documentation is okay, but I was wondering the following: I have a controller, and I will receive multiple requests, where I will use a producer…
Im quite new to AWS and also new to Kafka (using Confluent platform and .NET) .
We will receive large files (~1-40+Mb) to our S3-bucket and the consuming side of this should process these files. We will have all our messaging over Kafka.
Ive read…
We have 3 different environments: test, cert and prod. These environments have topics configured using the offset explorer.
The problem is that I can send messages to cert and test, but I can't send to prod until the topic in prod is marked for…
I am trying to connect to an AWS MSK cluster from an Azure Service. We are using confluent kafka dotnet libraries in the code and also mTLS for the connection as below.
var consumerConfig = new ConsumerConfig
{
…
The problem
My app, reading message from several topics by mask, crashes with error:
Confluent.Kafka.ConsumeException: Broker: Message size too large
What I've tried
The first problem is that I followed the guidelines for handling large messages:…
I am trying to work on the Kafka connectivity issue.
Basically I am trying be produce/consume from .net core confluent kafka to kafka cluster( linux server)
and I am facing various issues.
I am using Confluent.Kafka(.net) 1.7.0 version to connect to…
How do I solve this terminating with kafka? I have the following error: https://i.stack.imgur.com/bY2j3.png
Code:
public class KafkaHelper
{
public static async Task SendMessage(KafkaSettings settings, string topic, string key, string…
I have a message list coming from API, I need to map the elements in this list, send them to the producer and read them one by one.
Multiple users can send message lists at the same time.
I need to map the lists in order and not read the other list…
I am looking to write a custom connector for Apache Kafka to connect to SQL database to get CDC data. I would like to write a custom connector so I can connect to multiple databases using one connector because all the marketplace connectors only…
We have a Dotnet BackgroundService(Microsoft.Extensions.Hosting) running from a WebApi project. There is a Kafka Consumer(fairly new to Kafka world) running from within the ExecuteAsync method. We would like our Kafka consumer to stop/start…