Skip to content

KafkaProducer hangs when closing #1052

Closed
@Ormod

Description

@Ormod

I've now seen multiple times that when trying to close a KafkaProducer instance that the close() call hangs and never returns.

2017-03-24 13:32:18,216 kafka.producer.kafka INFO Closing the Kafka producer with 0 secs timeout.
2017-03-24 13:32:18,216 kafka.producer.kafka INFO Proceeding to force close the producer since pending requests could not be completed within timeout 0.

This occurs at times even when the timeout given is a 0.

No exceptions are printed but the call just never returns.

The version of kafka-python is the currently latest git HEAD ( 998147d)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions