Open mike-thompson-h opened 3 years ago
@mike-thompson-h from the docs:
The /ksql resource runs a sequence of SQL statements. All statements, except those starting with SELECT, can be run on this endpoint. To run SELECT statements use the /query endpoint.
Hope this helps
Apologies, that was a mistake in what I entered in my original post. I have tried the LIST STREAMS; statement with the ksql endpoint and the SELECT statement with the query endpoint, but I get a timeout error in both cases. I have tried on 2 different machines and I get the same result.
I have used the api key and secret from the kSQLdb app on Confluent Cloud. The app is active. Is there anything I need to do server side on Confluent Cloud to active this?
Thanks for your help Peter
I am making the following request via httpie, but I get a timeout error after 30 seconds:
http POST http://{endpoint}:8088/ksql ksql='SELECT TOP * FROM STREAM_TEST;' --auth-type=basic --auth=:
Do you have any idea why this might be? I cannot see anything wrong with the params I have filled in above