Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AvroSerializer not found in import * #861

Closed
2 of 7 tasks
Amertz08 opened this issue May 8, 2020 · 0 comments
Closed
2 of 7 tasks

AvroSerializer not found in import * #861

Amertz08 opened this issue May 8, 2020 · 0 comments

Comments

@Amertz08
Copy link

Amertz08 commented May 8, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants