Overview - WunderGraph

Cosmo Connect

Cosmo Connect allows you to use GraphQL Federation without requiring backend teams to run GraphQL servers or frameworks. One of the biggest downsides of Apollo Federation is that backend developers must adopt GraphQL and migrate their existing REST or gRPC services to a Federation-compatible framework. Cosmo Connect solves this problem by compiling GraphQL into gRPC and moving the complexity of the query language into the Router (API Gateway). How does this work? You define an Apollo-compatible Subgraph Schema, compile it into a protobuf definition, and implement it in your favorite gRPC stack, such as Go, Java, C#, or many others. No specific framework or GraphQL knowledge is required. It is really just gRPC!

Key Benefits

Deployment Models

Cosmo Router

Clients (Web / Mobile / Server)

Router Core

Router Plugin

(Cosmo Connect)

GraphQL Subgraph

gRPC Service

(Cosmo Connect)

REST / HTTP APIs

Databases

Cosmo Connect supports two ways to integrate gRPC into your federated graph:

Both approaches remove the need to build GraphQL servers while maintaining the benefits of federation.

Implementation Docs

The following documentation explains how to build and deploy services and plugins:

These docs assume you’re familiar with the concepts above and are ready to implement your first service or plugin.

Getting Started

The following tutorials walk you through step-by-step examples of building your first integration. Unlike the implementation docs, which cover the full technical reference, these focus on quick setup and hands-on learning:

Deploy Your First gRPC Service
Learn how to integrate a gRPC service into your Cosmo Router.

Deploy Your First Router Plugin
Learn how to use gRPC plugins with Cosmo Cloud & Cosmo Router.

Advanced gRPC Plugin Demo
Explore a full example that embeds a Users service as a Router plugin and composes with a standalone Products subgraph.
Open on GitHub