S2's REST API now supports long polling, besides SSE! Long polling is a simple way for client-driven consumption with stateless HTTP requests. You just need to specify the ?wait=<seconds> query parameter. If no records are available, the response will only return after the duration elapses.
s2.devRead records. - S2Retrieve a batch of records, or continuously stream.
2 reposts8 likes