-
Notifications
You must be signed in to change notification settings - Fork 915
.cimpl problems #41
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
Comments
Hi
I'm not sure about that one, there's no configure or make install target in confluent-kafka-python.
Can you try installing to a virtualenv?
Also make sure that you are install librdkafka1 version 0.9.1 or later, it is available from Confluent and Debian |
Doing this in virtualenv seems to work now, at least for Producer. >>> from confluent_kafka import Producer >>> p = Producer({'bootstrap.servers': 'kaf1'}) >>> p.produce('test', "hello") >>> p.flush() >>> p.produce('test', 'yet another message') >>> p.flush()
-eric ho |
Great! See this guide for how to set up SSL with librdkafka based clients: |
Turns out that you run into this error if you import confluent_kafka while you're in the source folder of confluent_kafka:
If you CD to a path that is NOT in |
@mtrienis mtrienis can you explain it, i did pip install package and facing issue, and this is in init file, so not sure how to resolve it |
I'm new to this package.
I just did:
sudo apt-get install librdkafka1
sudo apt-get install librdkafka-dev
sudo apt-get install libssl-dev
sudo apt-get install liblz4-dev
sudo apt-get install libsasl2-dev
git clone https://github.com/confluentinc/confluent-kafka-python.git
cd confluent-kafka-python; ./configure ; make ; sudo make install
This seemed to install everything into /usr/local/
sudo pip install confluent-kafka
ubuntu$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: