Netflix

Netflix/dgs-framework

Kotlin Apache-2.0 Web Dev

GraphQL for Java with Spring Boot made easy.

3.4k stars
334 forks
recent
GitHub +3 / week

3.4k

Stars

334

Forks

50

Open issues

30

Contributors

v12.0.1 26 May 2026

AI Analysis

DGS Framework is a GraphQL server framework for Spring Boot, developed by Netflix, that provides annotation-based programming models, code generation, federation support, and integrated testing capabilities. It serves Java/Spring Boot developers building GraphQL APIs and is particularly well-suited for teams adopting GraphQL Federation and requiring tight Spring Security integration. It is not a general-purpose framework for non-JVM environments or non-Spring applications.

Web Dev Library Discovery value: 3/10
Documentation 9/10
Activity 9/10
Community 8/10
Code quality 8/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

graphql spring-boot java api-framework federation
Actively maintained Well documented Niche/specialized use case Beginner friendly Production ready
Deep Analysis · Based on README and public signals
4d ago

Netflix's Spring Boot GraphQL framework with federation support, maturing but plateauing against native Spring alternative

DGS Framework is a Spring Boot-native GraphQL server framework developed and maintained by Netflix since 2020. It provides annotation-based programming model, federation support, subscriptions, and code generation. While technically complete, it competes directly with Spring GraphQL (official Spring project) and appears to have plateaued in adoption; Netflix's own services likely use it, but third-party real-world usage is not well-documented in public channels.

Origin

Netflix developed DGS as an internal GraphQL solution and open-sourced it in late 2020. The framework reflects Netflix's production GraphQL experience and was designed to simplify Spring Boot integration compared to raw graphql-java. It gained traction during 2021–2023 but faced headwinds after Spring released its own official GraphQL integration (Spring GraphQL) in 2022.

Growth

Repository shows 3,376 stars accumulated over ~5.5 years, but only 1 star gained in the last 7 days (as of 2026-07-06). Last commit was 2026-06-29, indicating active maintenance, but growth has flatlined. Peak adoption likely occurred around 2021–2022; trajectory suggests stabilization in a niche rather than expansion. The existence of competing Spring GraphQL (official, 1,591 stars) and graphql-kotlin (1,803 stars, also Kotlin-focused) indicates market fragmentation.

In production

Netflix is confirmed user (internal origin). No public case studies, blog posts from other organizations, or documented enterprise deployments found in README. Adoption not verified beyond Netflix. This is significant: if real third-party production usage existed at scale, it would likely be highlighted. Absence of such testimonials is a weak signal for ecosystem adoption.

Code analysis
Architecture

README describes annotation-based Spring Boot model with federation support, subscriptions (WebSocket and SSE), file uploads, and extension points. Appears to be a higher-level abstraction over graphql-java. Built in Kotlin. Likely provides declarative data fetching patterns similar to other Spring frameworks, but implementation details cannot be verified from README alone.

Tests

README explicitly mentions 'test framework for writing query tests as unit tests,' suggesting test-first design is a design goal. No metrics provided; actual test coverage of the framework itself is not documented in README.

Maintenance

Last push 2026-06-29 (7 days before evaluation date) confirms ongoing maintenance. Version table shows Spring Boot 4 support (current) and notes SB3 backports until mid-2026, indicating active Spring version alignment. However, minimal growth in stars and low weekly gain suggest maintenance at stable level rather than active feature development or viral adoption.

Honest verdict

ADOPT IF: you are already committed to Spring Boot, need federation support, value Netflix's architecture patterns, and have low risk tolerance for adoption of newer Spring GraphQL. Also suitable if you require a stable, well-tested framework at Netflix scale. AVOID IF: you want to follow the official Spring ecosystem direction, are starting a greenfield project in 2026, or need a thriving community and frequent feature additions. MONITOR IF: Spring GraphQL continues to gain relative adoption over DGS, which would indicate market consolidation toward the official solution; or if Netflix publishes production case studies, which would validate third-party viability.

Independent dimensions

Mainstream potential

3/10

Technical importance

7/10

Adoption evidence

3/10

Risks
  • Competitive pressure from Spring GraphQL (official Spring project) may gradually shift ecosystem preference toward the native integration, reducing DGS's appeal for new projects.
  • Adoption appears concentrated at Netflix; lack of documented external production deployments suggests limited ecosystem network effects or confidence signals for new adopters.
  • Framework maturity and feature completeness may cause growth plateau; distinguishing between 'stable' and 'stagnant' requires tracking whether issues are resolved and critical bugs fixed—visibility into issue triage not provided by metadata.
  • Spring Boot version alignment dependency means framework must track Spring releases; lag in support for new Spring versions could become a friction point.
  • Single-maintainer risk (Netflix-internal project): no evidence of external contributor base; community sustainability depends on Netflix's continued investment.
Prediction

DGS is likely to remain a stable, niche framework used primarily within Netflix and by organizations already deeply invested in Spring Boot with federation requirements. It will probably not regain growth trajectory relative to Spring GraphQL due to official Spring backing. Maintenance will continue at present level (active but incremental) unless Netflix significantly expands investment or publicly champions external adoption.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Kotlin
80.6%
Java
18.3%
Python
0.7%
JavaScript
0.2%
HTML
0.2%
Makefile
0.1%

Information

Language
Kotlin
License
Apache-2.0
Last updated
2w ago
Created
68mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

spring-projects

spring-projects/spring-graphql

Spring for GraphQL provides official Spring Framework integration with GraphQL...

1.6k Java Web Dev
graphql-java

graphql-java/graphql-java

GraphQL Java is a mature, specification-compliant GraphQL implementation for...

6.2k Java Web Dev
ngs-doo

ngs-doo/dsl-json

DSL-JSON is a high-performance JVM JSON serialization library optimized for...

1.1k Java Dev Tools
ExpediaGroup

ExpediaGroup/graphql-kotlin

GraphQL Kotlin is a collection of libraries built on graphql-java that...

1.8k Kotlin Web Dev
grpc-ecosystem

grpc-ecosystem/grpc-spring

Spring Boot starter module that seamlessly integrates gRPC framework with...

3.7k Java Dev Tools
vs. alternatives
Spring GraphQL

Official Spring project (1,591 stars). Lower adoption count but carries official Spring endorsement and is integrated into Spring Boot ecosystem natively. Likely to capture greenfield projects seeking Spring-native solutions. DGS is more opinionated and federation-focused.

graphql-java

Lower-level GraphQL library (6,230 stars). DGS is built on top of graphql-java but adds Spring abstraction. graphql-java is framework-agnostic; DGS is Spring-specific.

graphql-kotlin

Also Kotlin-focused (1,803 stars). More language-native approach; DGS is Spring framework-native. Similar adoption; both appear to serve overlapping niches without clear dominance.

grpc-spring

Spring+gRPC integration (3,710 stars). Solves different problem (RPC over HTTP/2 vs. GraphQL over HTTP). Not a direct competitor but popular in same ecosystem.