Skip to content

yaninyzwitty/gqlgen-subscriptions-go

Repository files navigation

GQLGEN Subscriptions Go Project

This project primarily focuses on implementing message queues using Kafka, with an emphasis on consuming messages for gqlgen subscriptions.

Messages are stored in Scylla DB.

Features

  • Perform GraphQL mutations with ease, such as creating users, rooms, and messages.
  • Receive real-time updates for messages via gqlgen subscriptions.
  • Query data to verify successful database insertion.
  • Remove eager fetching to reduce the cost of fetching objects.

Credits

Tools

  • Sonyflake for generating unique snowflake-like IDs, similar to Twitter IDs.
  • GQLGEN for building servers with graphql

About

This repository demonstrates how to use subscriptions in gqlgen with Go (Golang) and GraphQL, integrating Kafka for real-time message streaming. It provides an example of setting up a GraphQL server with subscription support, managing data flow with Kafka, and leveraging gqlgen's capabilities to handle subscription-based updates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors