Skip to content

Cluster communiction problems in 1.4.5 & 1.4.6 #1856

Closed
@ov7a

Description

@ov7a

Sample code:

from kafka import KafkaConsumer
kafka_client = KafkaConsumer(bootstrap_servers = "node1:9093")
topic = "some topic"
partitions = kafka_client.partitions_for_topic(topic)
print(partitions)
kafka_client.close()	

I get {0, 1, 2, 3, 4, 5, 6, 7} in 1.4.4 and earlier versions, and None in 1.4.5 and 1.4.6.

Kafka version: 2.2.0

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