Skip to content

Instantly share code, notes, and snippets.

View itsmurugappan's full-sized avatar
🎯
Focusing

Murugappan Chetty itsmurugappan

🎯
Focusing
  • CA, USA
View GitHub Profile
@itsmurugappan
itsmurugappan / gql-source
Created October 1, 2020 01:30
sample gql source
apiVersion: sources.muru.dev/v1alpha1
kind: GqlSource
metadata:
name: restaurant-gql-source
spec:
subscriptionQueries:
- "subscription {itemChanged {name action itemType}}"
- "subscription {infoChanged{hours address}}"
gqlServer: http://restaurant:8080/graphql
sink:
@itsmurugappan
itsmurugappan / main.go
Last active June 12, 2020 21:46
Process data from s3 file source
package main
import (
"context"
"fmt"
"log"
"os"
"os/signal"
"strconv"
"strings"