Consuming Messages from a Topic | Apache Kafka for .NET Developers

preview_player
Показать описание

Producing messages to a Kafka topic isn't much use unless you can consume them later. This requires a Kafka Consumer to be implemented. They are responsible for handling the messages, but they don't control the format. Instead, they will need to read the data according to whatever schema it was published with. They will take that incoming data and deserialize it to a C# class or struct where it can be further processed. In this video, we'll see how to create and configure a consumer, as well as how to create a simple message processing loop.

--
ABOUT CONFLUENT

#dotnet #csharp #apachekafka #kafka #confluent
Рекомендации по теме
Комментарии
Автор

Is there an asynchronous alternative to consumer.Consume method? Like consumer.ConsumeAsync()?
It would be nice not to block a thread while waiting for a message.

NikaTark
Автор

When consuming multiple topics how to divide he messages coming from those topics. Means how to send messages to necessary methods when topic1 or to other methods when topic2?

Kreyanshi
Автор

Hello Wade,

What is the “Biometrics” when you are creating the Consumer?

trevoraverill
visit shbcf.ru