-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ksqldb-api-client: Cannot retrieve more than 100 rows in pull/push queries using StreamedQueryResult #7115
Comments
Hi @nafeezmd , thanks for your report. The |
@vcrfxia: Thanks for your feedback. You mean, client is responsible in forming the query in a way that all 50000 records could be fetched in batches(100 at a time)? On a side note, we have tried using ROWTIME to achieve this batching but seems like KSQL is returning the results out of order so using ROWTIME to achieve the batching did not work for us. SELECT .... |
I reproduced the error above. I have verified that on the CLI, it's able to return hundreds of rows, but using the java client, it hits this error. I'm not entirely sure what the issue is, but walking through the code a bit, it doesn't appear that the call to poll triggers the underlying methods to be invoked on the vertx context, so this may be the source of the bug. |
Hi Team, We are desperately waiting for this fix to be available. Our solutions are on hold because of this issue. @AlanConfluent can you please tell by when this patch will be available? |
Hi @mrunmayee003 , the fix has already been released with ksqlDB 0.17, and will also be released with Confluent ksqlDB 6.2.0 once that's out. |
I have a simple stream that contains 500+ records and I'm trying to query those records with some added filters in the push query. The result set should contain 200+ records easily but only 100 rows are being returned.
To reproduce:
this.ksqlDBJavaClient.streamQuery(sql, Collections.singletonMap("auto.offset.reset", "earliest"));
@vcrfxia - Thanks for your contribution to the api client. I see you added the Request batch size limit here. Do you think this needs to be configurable?
Error stacktrace:
The text was updated successfully, but these errors were encountered: