Apache Kafka - 2022 Edition [.NET 6 Consumer and Producer, Docker containerized Kafka services]

2022 ж. 23 Сәу.
45 070 Рет қаралды

#kafka #dotnet #csharp
I have done a couple of videos in 2018 for Kafka, but since then there have been a lot of improvements and changes in the Kafka echo system. And same is true for the Kafka client NuGet package.
Hence, I am creating a new series on Kafka with .NET 6 application, starting from explaining the basics of Kafka, to busing a distributed Microservices application using Kafka.
In this video, I will cover the basics of Kafka and a simple example of Producer and Consumer for Kafka topics.
The command used in the video to download the docker-compose file for Kafka and then start containers:
1. curl --silent --output docker-compose.yml raw.githubusercontent.com/con...
2. docker-compose up -d
Stay tuned for the next week's video, as I will cover building a real-life application using Kafka and ASP.NET 6.
My KZhead Channel: / dotnetcorecentral
My Blog WebSite: dotnetcorecentral.com/
My GitHub Repo: github.com/choudhurynirjhar

Пікірлер
  • Thank you for putting out the time to create these videos. They are extremely helpful to get a brief overview of the technology.

    @sontran7356@sontran73562 жыл бұрын
    • @Son Tran, thanks for watching!

      @DotNetCoreCentral@DotNetCoreCentral2 жыл бұрын
  • Thank you for supporting us in the Dev community with such valuable content!!

    @sntushelo@sntushelo Жыл бұрын
    • Thanks for watching

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • good job, can i ask you a question ? what if i want to access these environment variables (like bootstrap servers) in docker without implementing it in code

    @HassanAli-cf6ii@HassanAli-cf6ii Жыл бұрын
  • Awesome content bro

    @aymangaafer2158@aymangaafer21582 жыл бұрын
    • Thanks!

      @DotNetCoreCentral@DotNetCoreCentral2 жыл бұрын
  • Can you publish to the same topic, messages from different object types? For instance, in the weather topic, we may want to publish a temperature object, a humidity object etc... And in the consumer, could we subscribe to the topic and only consume messages of the X object type? Without consuming all messages and checking for the type.

    @PedroMartins-ux7mv@PedroMartins-ux7mv Жыл бұрын
  • I have some concerns about docker file can you explain which Image is used for which part. I basically want to remove unwanted images from it.

    @krunaljethva90@krunaljethva902 ай бұрын
  • Very good!

    @jacksonveroneze9197@jacksonveroneze91972 жыл бұрын
    • Thanks!

      @DotNetCoreCentral@DotNetCoreCentral2 жыл бұрын
  • Amazing! :)

    @bhavyar2986@bhavyar2986 Жыл бұрын
    • Thanks

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Nirjhar excellent work

    @GeorgeZarogkikas@GeorgeZarogkikas2 жыл бұрын
    • @George Zarogkikas, thanks for watching!

      @DotNetCoreCentral@DotNetCoreCentral2 жыл бұрын
  • Thanks man

    @esepasoso1@esepasoso1 Жыл бұрын
    • Thanks for watching!

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Thanks!

    @BlackWolfCrew@BlackWolfCrew Жыл бұрын
    • Welcome!

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Muy bueno

    @hector9079@hector90792 жыл бұрын
    • Thanks!

      @DotNetCoreCentral@DotNetCoreCentral2 жыл бұрын
  • I got an error like docker-compose is not recognised by internal or external command. What to do now?

    @ankitaghadge.1337@ankitaghadge.1337 Жыл бұрын
    • Do you have docker desktop running?

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • is it apache kafka (free) or the confluent paid licensed offer ?...

    @johndoe-cd9vt@johndoe-cd9vt Жыл бұрын
    • This is free apache Kafka I used here

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • is apache kafka different from confluent kafka?

    @anandsutrave5607@anandsutrave5607 Жыл бұрын
    • Confluent kafka is apache kafka hosted by confluent

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Hello I used your docker file but can not start Kafka

    @youcantsee3867@youcantsee3867 Жыл бұрын
    • Same here.

      @diwaspoudel7@diwaspoudel74 ай бұрын
  • Hi pro can i user kafka in angular

    @mahmoudalzoubi9412@mahmoudalzoubi9412 Жыл бұрын
    • Yes you can, as long as its through an API

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • 7:14 When you have 3 partitions and 5 consumers then 2 consumers will be idle! To make use of them you need to rebalance to 5 partitions.

    @franciszekkaliszewski7005@franciszekkaliszewski7005 Жыл бұрын
    • Correct

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Is Confluent free to use?

    @easyInsigtswithmanish@easyInsigtswithmanish Жыл бұрын
    • Kafka open source is free to use, but if you use Kafka in confluent cloud, they have a trial version, but based on usage you will have to pay.

      @DotNetCoreCentral@DotNetCoreCentral Жыл бұрын
  • Two consumers from the same consumer group will never consume from the same Kafka partition, by design.

    @franciszekkaliszewski7005@franciszekkaliszewski7005 Жыл бұрын
  • Ohh for god's sake. Please rehearse well before recording. Too much of pauses in between sentences tests the patience of the listener. I hope you could take this criticism constructively. Otherwise, it's well put-together content. Keep it up.

    @karthikkeyan4460@karthikkeyan4460 Жыл бұрын
    • I think he did a great job explaining these concepts. His pace was fine..those pauses were needed.. :) helps people process things

      @bhavyareddy6270@bhavyareddy6270 Жыл бұрын
    • Agreed however just accumulate the content and follow step by step instructions. It's worth it because the example work. These are new people so they need a little support and motivation to improve.

      @akshayraut858@akshayraut858 Жыл бұрын
    • Dear Karthik, with all due respect. I believe everyone is a learner here. No offense youTube gives us option for playback speed. Again No offense please

      @cheequsharma7391@cheequsharma7391 Жыл бұрын
  • Why use Confluent ?

    @Paul-uo9sv@Paul-uo9sv10 ай бұрын
KZhead