install .net core >= 6.0
rename getting-started-template.properties to getting-started.properties
replace following values by yours :
- bootstrap.servers
- sasl.username
- sasl.password
create a project file producer.csproj
create producer application file producer.cs
compile application file :
cd producer
dotnet build producer.csproj
create a project file consumer.csproj
create consumer application file consumer.cs
compile application file :
cd ../consumer
dotnet build consumer.csproj
cd ..
cd producer
dotnet run $(pwd)/../getting-started.properties
cd consumer
dotnet run $(pwd)/../getting-started.properties