Skip to content

Example workflows

directory
TL;DR

Try a small dataset with a known result before connecting a continuous producer. These examples use one authorized streaming catalog and PGWire for both writes and recent-data queries. Run each insert once, check the expected rows and retain the original input if a connection loss leaves its outcome uncertain.

Message sequenceKeep one example observable from input to query result
Keep one example observable from input to query resultCreate the example table, send its small known input and query the expected aggregate through the same SQL client. Add a continuous view or live consumer only after the base path is verified.SQL clientBoilStreamCreate example tableInsert the documented inputRun the example aggregateCompare with expected resultTime moves downward · dashed arrows are responsesKeep one example observable from input to query resultCreate the example table, send its small known input and query the expected aggregate through the same SQL client. Add a continuous view or live consumer only after the base path is verified.SQL clientBoilStreamCreate example tableInsert the documentedinputRun the example aggregateCompare with expectedresultTime moves downward · dashed arrows are responses
Events count actions, logs count status codes and sensors average readings. Start with known rows so the result is easy to verify.

Follow the first workflow to obtain a PGWire connection to a test streaming catalog with table-creation permission. Each example creates its own table. Queries may need to wait for the commit cycle; query again rather than resend to fix an empty result.

After checking the small dataset, choose HTTP Arrow or Kafka. Define handling for partial and unknown outcomes before enabling retries.