Code Monkey home page Code Monkey logo

Comments (8)

bryanyang0528 avatar bryanyang0528 commented on June 18, 2024 1

@olmul would you mind create a PR and share your work around solution?

from ksql-python.

bryanyang0528 avatar bryanyang0528 commented on June 18, 2024

@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.

BenMacKenzie avatar BenMacKenzie commented on June 18, 2024

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 avatar mungujn commented on June 18, 2024

@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.

olmul avatar olmul commented on June 18, 2024

@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.

romainr avatar romainr commented on June 18, 2024

Experiencing the same (blocking) with any query without 'LIMIT' on the 'query()' API, will try the PR.

from ksql-python.

jacobcrawford avatar jacobcrawford commented on June 18, 2024

Has this problem been fixed? I seem to experience the same problem when using the library.

from ksql-python.

KenCox94 avatar KenCox94 commented on June 18, 2024

@jacobcrawford this may be resolved with an upcoming release. Please advise after the update.

from ksql-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.