Skip to main content
Let’s create the .NET producer application by pasting the following code into a file producer/producer.cs.
Fill in the appropriate <BOOTSTRAP SERVERS> endpoint and <API KEY> in the BootstrapServers and SaslPassword properties where the client configuration config object is created. You can test the syntax before proceding by running the following command: