Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

The scripts in this directory provide code examples using Confluent's Python client:

  • adminapi.py: collection of Kafka Admin API operations
  • avro-cli.py: produces Avro messages with Confluent Schema Registry and then reads them back again
  • consumer.py: reads messages from a Kafka topic
  • producer.py: reads lines from stdin and sends them to Kafka

Additional examples for Confluent Cloud: