streaming subscriptions architecture: update try it out instructions

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6128
GitOrigin-RevId: 7887ef9b95a0c3f002a62a54734c711e5c5cd71e
This commit is contained in:
Praveen Durairaju 2022-09-29 22:56:03 +05:30 committed by hasura-bot
parent 3cb9bab9f1
commit a21c66fcf1

View File

@ -15,9 +15,9 @@
## Try it out in 60 seconds ## Try it out in 60 seconds
1. Step 1: Deploy Hasura as a [docker image](https://hasura.io/docs/latest/getting-started/docker-simple/) or with nothing but your browser at [Hasura Cloud](https://cloud.hasura.io) 1. Step 1: Deploy with nothing but your browser at [Hasura Cloud](https://cloud.hasura.io) (or run with [Docker](https://hasura.io/docs/latest/getting-started/docker-simple/))
3. Step 2: Run [this SQL (gist)](https://gist.github.com/coco98/803b70ec3fdd48cbe388bd25fcbfcd0e) that creates a table and loads some sample data 2. Step 2: Run [this SQL (gist)](https://gist.github.com/coco98/803b70ec3fdd48cbe388bd25fcbfcd0e) that creates a table and loads some sample data
4. Step 3: Run a GraphQL subscription to start streaming! 3. Step 3: Run a GraphQL subscription to start streaming!
```graphql ```graphql
subscription { subscription {
messages (cursor: {initial_value: {id: "0"}}, batch_size: 5) { messages (cursor: {initial_value: {id: "0"}}, batch_size: 5) {