I can't get the error from Kafka. I'm trying to store my results and errors in database (on cmd it is working fine). I Can store message, but never receive an error (for example when Kafka is down).
Webforms, .net4.8, confuent.kafka 1.9.2
…
I am running into some issues when trying to publish a number of messages onto a Kafka topic using the Confluent.Kafka nuget package.
Everything is set up correctly to the topic and I am able to write to it (before it terminates). It seems that the…
I am trying to come up with a solution that involves Kafka with .Net
This video gives a nice introduction and also suggests configuring for Throughput or Latency.
The related code here has configuration values like…
I am tasked with porting some Kafka consumers and producers from Java to .NET and wanted to validate the config mapping for SSL.
Some were trivial, but some seem not supported in .NET Config classes (or have different names). I don't have access to…
We are using a kafka consumer app based on the example below:
The problem: we receive Error in SetErrorHandler:
{"Code":"Local_Transport","Message":"sasl_ssl://XXXX.servicebus.windows.net:9093/0: Disconnected (after 3654528ms in state…
I have a case when consumer will be down then the offset should be used to check which message will be picked from where it left and not start from beginning. I have found many ways in other languages but I need the same in VB .net. How to implement…
I am working on a Realtime Application where I have to consume messages from Kafka and process the message and create a status dictionary to display on webpage. The problem is that while Kafka is running as BackgroundService in my Application, The…
Trying to Update existing schema in SchemaRegistry, but having error: Schema being registered is incompatible with an earlier schema for subject "kafka-2906-value"
Existing JSON schema:…
I have requirement to create consumer group at run time using Kafka IAdminClient or any other interfaces which Confluent Kafka exposes.
I understand that by setting true to allow.auto.create.topics will solve my requirement.
In my case am connecting…
I am trying to consume a max of 1000 messages from kafka at a time. (I am doing this because i need to batch insert into MSSQL.) I was under the impression that kafka keeps an internal queue which fetches messages from the brokers and when i use the…
I am unable to connect to Kafka servers from .net. We had truststore.jks file using which we created .pem files using below commands
keytool -exportcert -alias $alias -keystore $keyStore -rfc -file $outputFolder/certificate.pem -storepass…
I'm trying to build a connector to go into the confluent kafka library.
I have seen many examples in java that use configDef to define the configuration options. However I havent seen anything doing the same in C# and i'm unsure about how to achieve…
I have an extremely simple setup for sending message to Kafka:
var producerConfig = new ProducerConfig
{
BootstrapServers = "www.example.com",
SecurityProtocol = SecurityProtocol.SaslSsl,
…
I'm trying to create a topic (an Event Hub) programmatically from the Kafka interface using AdminClient.CreateTopicsAsync. This works when connecting to Kafka, but not to Event Hub. I'm running into the following error:
Default partition count…