I am trying to use ksqlDB with the REST API and a WSS (web socket server, to control authorization) which talks with React web app, but I am confused if I am going about it the right way:
When I query a stream of dogs people brought to the dog park based on the ‘doggos’ topic, I receive a never-ending stream of JSON. This makes sense.
However, say I query a precomputed table of dogs with black fur for all records:
- I notice that the rows still stream in individually until the end. This is not good because I want the entire chunked database and then individual records may come in afterwards.
** Is there way to get ksqlDB to chunk this data, or do I have to do this myself? I am confused as to why it still chunks the data even though it already knows ahead of time how many rows it has at query time.
** I have a hunch that protobuf would help here, but I am not sure if it would still be chunked up, just in protobuf instead
I would prefer to keep using ksqlDB with the REST API but open to considering other options.