`confluent_kafka.Producer.poll` is a function in the Python library `confluent_kafka` which is used to periodically check for completion callbacks from the Kafka broker. This function allows the producer to handle any outstanding messages and ensures their delivery, while also allowing the application to perform other tasks concurrently. It is a non-blocking method that is commonly used in Kafka producer implementations.
Python Producer.poll - 37 examples found. These are the top rated real world Python examples of confluent_kafka.Producer.poll extracted from open source projects. You can rate examples to help us improve the quality of examples.