[FLINK-39674][formats] Upgrade Confluent Schema Registry client#28504
Open
qiuyanjun888 wants to merge 1 commit into
Open
[FLINK-39674][formats] Upgrade Confluent Schema Registry client#28504qiuyanjun888 wants to merge 1 commit into
qiuyanjun888 wants to merge 1 commit into
Conversation
Collaborator
spuru9
reviewed
Jun 22, 2026
|
|
||
| <properties> | ||
| <confluent.version>7.5.3</confluent.version> | ||
| <confluent.version>7.9.8</confluent.version> |
Contributor
There was a problem hiding this comment.
META-INF/NOTICE still declares the old versions, can you update them as well.
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.
Summary
This PR updates
flink-avro-confluent-registryto a newer Confluent Schema Registry client and adds a focused regression test for Kafka 3.9.x OAuth compatibility.Root Cause
flink-avro-confluent-registrystill usedio.confluent:kafka-schema-registry-client:7.5.3. With Kafka client 3.9.x on the classpath, the Schema Registry OAuth bearer path can fail during client initialization because Confluent 7.5.3 calls the oldHttpAccessTokenRetrieverconstructor signature that is no longer present in Kafka 3.9.x.Changes
io.confluent:kafka-schema-registry-clientfrom7.5.3to7.9.8.Validation
./mvnw -pl flink-formats/flink-avro-confluent-registry -Dtest=CachedSchemaCoderProviderTest#testThatOauthBearerAuthIsCompatibleWithKafkaClient39 test -DskipITs -Drat.skip=true -Dcheckstyle.skip=trueNoSuchMethodErrorfromOauthCredentialProvider.getTokenRetriever(...)../mvnw -pl flink-formats/flink-avro-confluent-registry -Dtest=CachedSchemaCoderProviderTest#testThatOauthBearerAuthIsCompatibleWithKafkaClient39 test -DskipITs -Drat.skip=true -Dcheckstyle.skip=true./mvnw -pl flink-formats/flink-avro-confluent-registry test -DskipITsio.confluent:kafka-schema-registry-client:7.9.8org.apache.kafka:kafka-clients:3.9.2in test scope.Does this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation
Was generative AI tooling used to co-author this PR?
Generated-by: Hermes Agent (OpenAI GPT-5.5)