Claus Ibsen created CAMEL-28010:
-----------------------------------

             Summary: camel-azure-schema-registry - deprecate the module
                 Key: CAMEL-28010
                 URL: https://issues.apache.org/jira/browse/CAMEL-28010
             Project: Camel
          Issue Type: Task
          Components: camel-azure
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.25.0


camel-azure-schema-registry has one class, DefaultAzureCredentialWrapper: a 
TokenCredential with a no-argument constructor that delegates to the 
DefaultAzureCredential of Azure Identity, so that a low-code user could create 
it as a bean by class name.

Its only users were the kafka-azure-schema-registry-source, 
kafka-azure-schema-registry-sink and kafka-batch-azure-schema-registry-source 
Kamelets, which were removed from camel-kamelets (apache/camel-kamelets#3165, 
part of #3162) because they could not start. The camel-kamelets-examples ship 
their own copy of the class.

A YAML route can now create the credential without the module, with the builder 
of Azure Identity:

{code}
- beans:
    - name: defaultAzureCredential
      type: com.azure.identity.DefaultAzureCredential
      builderClass: com.azure.identity.DefaultAzureCredentialBuilder
{code}

Deprecate camel-azure-schema-registry in 4.25, to be removed in a later release.

----
_Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to