Skip to content

Intermittent exception #663

Closed
Closed
@dvenza

Description

@dvenza

Quite often, I would say 70% of the time, I get this message:

Exception ignored in: <bound method ConsumerCoordinator.__del__ of <kafka.coordinator.consumer.ConsumerCoordinator object at 0x7ffe64f04978>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/kafka/coordinator/consumer.py", line 109, in __del__
  File "/usr/local/lib/python3.4/dist-packages/kafka/util.py", line 168, in __init__
TypeError: 'NoneType' object is not callable

When this piece of Python code exits:

consumer = KafkaConsumer(bootstrap_servers=args.kafka_address)

if args.list_logs:
     for topic in consumer.topics():
         if topic[0] != '_':
             print(topic)
     sys.exit(0)

Everything else works as expected and I'm using latest the pip package (1.1.0) on Python 3.

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