Upgrade to Spring Boot 3 / Java 17 and add ThriftClientHeaderCustomizer hook#51
Open
rpajaziti wants to merge 7 commits intoaatarasoff:masterfrom
Open
Upgrade to Spring Boot 3 / Java 17 and add ThriftClientHeaderCustomizer hook#51rpajaziti wants to merge 7 commits intoaatarasoff:masterfrom
rpajaziti wants to merge 7 commits intoaatarasoff:masterfrom
Conversation
added 7 commits
March 25, 2026 21:09
- Upgrade Spring Boot to 3.2.5 and Spring Cloud to 2023.0.2 - Migrate from Java 11 to Java 17 (sourceCompatibility, CI workflows) - Replace spring-cloud-sleuth with micrometer-tracing (Brave bridge) - Replace Nebula plugins with standard java-library + maven-publish - Migrate @Autowired field injection to constructor injection (@requiredargsconstructor) - Add ThriftClientHeaderCustomizer SPI for propagating custom headers - Add @ConditionalOnClass(LoadBalancerClient.class) for optional load balancer support - Migrate Spring Boot auto-configuration to new spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports - Update Gradle wrapper and dependency versions - Fix publish workflow JDK version from 11 to 17
…tion, header customizer docs, and fix dependency declaration
…e correctly without a BOM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
This fork upgrades the library to Spring Boot 3 / Java 17 and adds a hook for custom header propagation on the client side.
Changes
Spring Boot 3 / Java 17 upgrade
ThriftClientHeaderCustomizerhook@FunctionalInterfacethat allows consumers to inject custom HTTP headers into every outgoing Thrift call without touching the library internalspassivateObject()cleanupDependency version pinning
apidependencies instarter/build.gradlenow have pinned versionsUsage example