Skip to main content
Let’s create the Python producer application by pasting the following code into a file producer.py.
Fill in the appropriate <BOOTSTRAP SERVERS> endpoint and <API KEY> in the bootstrap.servers and sasl.password properties where the client configuration config object is created.