Steps to replicate the issue:
- Query /v2/articles stream endpoint in realtime API
What happens?:
It takes about 2 to 5 seconds to start the streaming.
What should have happened instead?:
It should not take more than 1 second to start the streaming.
Other information:
This probably happens because we are always providing ROWTIME > %s in the ksqldb query, that means that ksqldb needs to do OffsetForTimes query every time. Let's see if removing this for the queries that do not include since parameter will help first.