Use RisingWave in your Go application
pgx
driver to connect to RisingWave.
pgx
driverpgx
driver:
pgx
:
walk
with the datagen
connector. The datagen
connector is used to generate mock data. The walk
source consists of two columns, distance
and duration
, which respectively represent the distance and the duration of a walk. The source is a simplified version of the data that is tracked by smart watches.
Note that you need to place the code inside a function.
counter
to capture the latest total distance and duration. Note that you need to place the code inside a function.
counter
to get the real-time data. Note that you need to place the code inside a function.