Skip to content

GH-3424: Document required dependencies for JsonToGrpc filter#4207

Open
won-seoop wants to merge 2 commits into
spring-cloud:mainfrom
won-seoop:gh-3424-jsontogrpc-deps-docs
Open

GH-3424: Document required dependencies for JsonToGrpc filter#4207
won-seoop wants to merge 2 commits into
spring-cloud:mainfrom
won-seoop:gh-3424-jsontogrpc-deps-docs

Conversation

@won-seoop

Copy link
Copy Markdown

What's included

Adds a Required Dependencies section to the JsonToGrpc GatewayFilter Factory documentation, listing the four optional gRPC/Protobuf artifacts that must be added explicitly:

  • io.grpc:grpc-netty
  • io.grpc:grpc-protobuf
  • io.grpc:grpc-stub
  • com.google.protobuf:protobuf-java-util

The section includes both Maven and Gradle snippets, and notes that versions are managed by the Spring Cloud Gateway BOM so no explicit version is needed when importing spring-cloud-dependencies.

Also explains that the filter bean is only auto-configured when io.grpc.Channel is on the classpath, so missing dependencies result in the filter not being registered.

Related issue

Closes #3424

🤖 Generated with Claude Code

won-seoop and others added 2 commits June 10, 2026 10:09
Documents how to include Spring Security in Spring Cloud Gateway
Server WebFlux and WebMVC projects, including dependency configuration,
HTTP firewall customization with StrictHttpFirewall / StrictServerWebExchangeFirewall,
and links to Spring Security reference documentation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lter

The JsonToGrpc GatewayFilter depends on gRPC and Protobuf libraries
that are optional (not pulled in transitively). Add a Required
Dependencies section with Maven and Gradle snippets so users know
what to add before they encounter a NoClassDefFoundError at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document required dependencies for JsonToGrpc Filter

2 participants