-
Notifications
You must be signed in to change notification settings - Fork 64
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
Support new query-stream API with HTTP/2 #79
Conversation
In a later PR there should be support for the other new endpoints
|
@harlev that's great. Let met know if you complete this cool feature. |
@bryanyang0528 last two APIs are implemented |
# Conflicts: # ksql/client.py # tests/test_client.py
…into query-stream
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
===========================================
- Coverage 75.25% 65.24% -10.01%
===========================================
Files 7 7
Lines 396 469 +73
Branches 54 66 +12
===========================================
+ Hits 298 306 +8
- Misses 80 145 +65
Partials 18 18
Continue to review full report at Codecov.
|
@harlev Thanks for your contribution. Nice implementation. |
Added optional support for the new HTTP/2 endpoint for queries, requested in #77
This is a non breaking change. The new endpoint will only be used when
use_http2=True
is passed intoQuery
in the client.Since it looks like Python's
requests
does not support HTTP/2, added the Hyper package.The test for Query was enhanced to test both HTTP/1.1 and HTTP/2 with the
/query
and/query-stream
endpoints receptively