davsclaus opened a new pull request, #30443:
URL: https://github.com/apache/camel/pull/30443

   Follow-up of #30437 
([CAMEL-27256](https://issues.apache.org/jira/browse/CAMEL-27256)), 
documentation only.
   
   Since Kafka 4.0, the Kafka client only calls an OAuth token endpoint that is 
listed in the JVM system property 
`org.apache.kafka.sasl.oauthbearer.allowed.urls`. Otherwise the producer or 
consumer fails to start with:
   
   ```
   Invalid value https://... for configuration 
sasl.oauthbearer.token.endpoint.url: The URL cannot be accessed due to 
restrictions. Update the system property 
'org.apache.kafka.sasl.oauthbearer.allowed.urls' to allow the URL to be 
accessed.
   ```
   
   The kafka component documentation did not say so. Checked with `camel run` 
on 4.24.0-SNAPSHOT, against a local token endpoint:
   - **`saslAuthType=OAUTH` with `oauthTokenEndpointUri`** fails to start 
without the property. The documentation now says this after the OAuth example, 
with how to set the property, also with Camel JBang (`--jvm-args`).
   - **`schemaRegistryOauthTokenEndpoint` with 
`schemaRegistryVendor=confluent`** fails the same way: the Confluent client 
checks `bearer.auth.issuer.endpoint.url` against the same property. With the 
property set, the token endpoint gets the client credentials as expected. This 
is now noted in the "Logging in to the schema registry" part.
   
   The catalog copy of the documentation is updated too.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to