Comments (8)
@olmul would you mind create a PR and share your work around solution?
from ksql-python.
@mungujn Thank you for reporting this problem. I will figure out how I can fixed it problem. Can you give me some example of quires you used?
from ksql-python.
i have the same problem. I was experimenting with the idea of training a model using data from a kafka topic. I wrote the data from the kaggle titanic data set into a kafka topic and created a stream from the confluent ksql editor. I then query the stream. works fine from cli but does not work from KSQLAPI unless I add a 'limit XX' to the query.
from ksql-python.
@mungujn Thank you for reporting this problem. I will figure out how I can fix it. Can you give me some example of queries you used?
Every query I ran exhibited that behaviour e.g
SELECT * FROM USERS_TABLE;
Although I did not do limit xx
from ksql-python.
@bryanyang0528 I was experiencing this issue too. It seems that the requests library doesn't support streaming data back when using the POST
method. I found that using urllib.requests
works as a workaround, reading the response in line by line.
I did a crude swap, probably needs to be cleaned up
from ksql-python.
Experiencing the same (blocking) with any query without 'LIMIT' on the 'query()' API, will try the PR.
from ksql-python.
Has this problem been fixed? I seem to experience the same problem when using the library.
from ksql-python.
@jacobcrawford this may be resolved with an upcoming release. Please advise after the update.
from ksql-python.
Related Issues (20)
- Create a KSQLdb table from a stream
- TLS and Certificates HOT 2
- Python 3.10 Incompatibility HOT 12
- release new version based on current master branch? HOT 2
- Response of client.query RuntimeError
- Error when using pull query
- Abandoned Repo HOT 3
- [WIP] Migrate to Github action HOT 2
- ksql has undeclared build-time dependencies HOT 3
- HTTP/2 Configurable Timeout to avoid socket.timeout error
- Error with lowercase columns
- Incompatibility with pep517 and Installation Failure HOT 1
- Expected 1 brokers but found only 0. Trying to query Kafka for metadata again
- socket.timeout() exception is being thrown when using 'use_http2=True' HOT 4
- Querying KSQL table with ksql-python returning only header but no records HOT 1
- [Question] Creating Kafka cluster from python HOT 1
- Bug: PEP 479 StopIteration leads to RuntimeError HOT 1
- SELECT statements call incorrect endpoint for KSQLDB 0.19.0 HOT 1
- IndexError from client.ksql("SET ...")
- ksql.upload.FileUpload.upload() gives InvalidQueryError HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksql-python.