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

query timeout if i dont put limit in query. #63

Closed
varunajmera0 opened this issue Mar 21, 2020 · 2 comments
Closed

query timeout if i dont put limit in query. #63

varunajmera0 opened this issue Mar 21, 2020 · 2 comments

Comments

@varunajmera0
Copy link

How can we get continues data from stream
client = KSQLAPI('http://127.0.0.1:8088')
streamProperties = {"ksql.streams.auto.offset.reset": "earliest"}
def cal():
def events():
query_string="select * from trend_news_stream emit changes;"
q = client.query(query_string, stream_properties=streamProperties, idle_timeout=10)
for c in q:
yield c
return Response(events(), mimetype="text/event-stream")

@romainr
Copy link
Contributor

romainr commented May 1, 2020

Check #60

@bryanyang0528
Copy link
Owner

bryanyang0528 commented Jul 24, 2020

fixed in #60 and #67 please open a new issue if you are in any trouble. thx!

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

3 participants