You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/client.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Connect Client enables you to generate type-safe gRPC/Connect clients and OpenAP
14
14
15
15
## Overview
16
16
17
-
While **Connect Backend** (gRPC Subgraphs) focuses on implementing subgraphs using gRPC, **Connect Client** focuses on the consumer side. It allows you to define GraphQL operations (Queries, Mutations and soon Subscriptions) and compile them into a Protobuf service definition.
17
+
While **Connect gRPC Services** (gRPC Subgraphs) focuses on implementing subgraphs using gRPC, **Connect Client** focuses on the consumer side. It allows you to define GraphQL operations (Queries, Mutations and soon Subscriptions) and compile them into a Protobuf service definition.
18
18
19
19
The Cosmo Router acts as a bridge. It serves your generated operations via the Connect protocol, executes them against your Federated Graph, and maps the GraphQL response back to typed Protobuf messages.
Cosmo Connect supports two ways to integrate gRPC into your federated graph:
62
+
Cosmo Connect supports three main integration patterns:
59
63
60
-
-**[Router Plugins](/connect/plugins)** — run as local processes managed by the router. Ideal for simple deployments where you want the lowest latency and do not need separate CI/CD or scaling.
61
-
-**[gRPC Services](/connect/grpc-services)** — independent deployments in any language. Suitable when you need full lifecycle control, team ownership boundaries, and independent scaling.
64
+
1.**[Connect Client](/connect/client)** — Generated clients that speak the Connect protocol to the Router.
65
+
2.**[Router Plugins](/connect/plugins)** — gRPC services running as local processes managed by the router.
Both approaches remove the need to build GraphQL servers while maintaining the benefits of federation.
68
+
Both plugin and service approaches remove the need to build GraphQL servers while maintaining the benefits of federation. Connect Client removes the need to manually write GraphQL queries in your application code.
0 commit comments