Skip to main content
Next, create the Python consumer application by pasting the following code into a file consumer.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.