Skip to content

AvroSerializer not found in import * #861

@Amertz08

Description

@Amertz08

Description

Looks like "AvroSerializer" is defined in __all__ for __init__.py under the root package. This causes an attribute error on from confluent_kafka import *

    from confluent_kafka import *
E   AttributeError: module 'confluent_kafka' has no attribute 'AvroSerializer'

How to reproduce

Try from confluent_kafka import *.

confluent-kafka[avro]==1.4.1

Checklist

Please provide the following information:

confluent-kafka[avro]==1.4.1
librdkafk ('1.4.0', 17039615)
Mac OSX

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()):
  • Apache Kafka broker version:
  • Client configuration: {...}
  • Operating system:
  • Provide client logs (with 'debug': '..' as necessary)
  • Provide broker log excerpts
  • Critical issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions