Command Line Interface Producer for Kafka in C#

I recently wrote a post about using a simple Command Line Interface (CLI) consumer for Kafka in C#. You can find that post here . Here is a simple CLI producer in C#. Again, it uses the dotnet run app.cs approach. Here is the code - 1 # !/ usr / bin / dotnet run 2 # : package Confluent . Kafka @ 2.5 . 0 3 using Confluent.Kafka ; 4 5 if ( args . Length != 2 ) 6 { 7 Console . WriteLine ( 'Usage: url…