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

cannot import name 'IncompatibleBrokerVersion' from 'kafka.errors' #2448

Open
LeGi0N09 opened this issue Sep 16, 2024 · 0 comments
Open

cannot import name 'IncompatibleBrokerVersion' from 'kafka.errors' #2448

LeGi0N09 opened this issue Sep 16, 2024 · 0 comments

Comments

@LeGi0N09
Copy link

ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from kafka import KafkaProducer
2 import json
3 import pandas as pd
4 import time
5

2 frames
/usr/local/lib/python3.10/dist-packages/kafka/admin/client.py in
14 from kafka.coordinator.protocol import ConsumerProtocolMemberMetadata, ConsumerProtocolMemberAssignment, ConsumerProtocol
15 import kafka.errors as Errors
---> 16 from kafka.errors import (
17 IncompatibleBrokerVersion, KafkaConfigurationError, NotControllerError,
18 UnrecognizedBrokerVersion, IllegalArgumentError)

ImportError: cannot import name 'IncompatibleBrokerVersion' from 'kafka.errors' (/usr/local/lib/python3.10/dist-packages/kafka/errors.py)

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

No branches or pull requests

1 participant