Skip to content

Exception not raised by the KafkaConsumer() method for invalid address #1481

Closed
@aliartiza75

Description

@aliartiza75

Hello everyone,

In the earlier version of the Kafka-python module, the method KafkaConsumer() when received an invalid broker address used to raise an exception but in the latest version, it neither raises an exception nor timeouts but stucks at that point.
Module version is : 1.4.2

client = KafkaConsumer(bootstrap_servers=broker_addr, request_timeout_ms=6000, session_timeout_ms=5000)

Need help regarding the behavior of this method.

Thanks in advance

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