What we see in Figure 16 are the various project related files, including the source file
Program.cs. What is missing now is a Kafka client. For .NET there exists a couple of clients, and theoretically, you can use any one of them. However, in practice, there is only one, and that is the Confluent Kafka DotNet client. The reason I say this is because it has the best parity with the original Java client. The client has NuGet packages, and you install it via VS Code’s integrated terminal:
dotnet add package Confluent.Kafka --version 22.214.171.124:
Definitely use the Confluent client. The others were from a time when there was no official driver; most aren’t even maintained anymore.