Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21165

Azure EventHub Emulator + camel Authentication issue

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 4.7.0
    • None
    • camel-azure
    • None
    • Unknown

    Description

      Hi,

      I am trying to connect to EventHub Emulator and Azurite storage blob container emulator from my Springboot service which is using the latest Azure SDK BOM(1.2.26) to support azure test containers and Apache Camel v4.7.0 (primarily for Azure Endpoint route builder configurations). I am seeing 403 Blob storage authentication failures due to signature mismatch. Could you kindly suggest which version of Azure SDK bom and Apache Camel are compatible for recent Emulators to unblock this issue ? Let me know if any more details are needed from my end.

      Below is the snippet from my error stacktrace:

      Error occurred in partition processor for partition NONE, com.azure.storage.blob.models.BlobStorageException: If you are using a StorageSharedKeyCredential, and the server returned an error message that says 'Signature did not match', you can compare the string to sign with the one generated by the SDK

      Below are the properties my application.yaml using azure event hub emulator configurations

      azure:
      container-name: "static-container"
      event-hub-connection-string: "Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"
      inbound-event-hub-consumer-group: cg1
      inbound-event-hub-name: ev1
      namespace: emulatorns1
      outbound-event-hub-consumer-group: cg2
      outbound-event-hub-name: ev2

      storage-account-name: devstoreaccount1
      storage-connection-string: "AccountName=devstoreaccount1;AccountKey=accountkey;DefaultEndpointsProtocol=http;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;"

      Thanks,
      Nilanjan Gogoi

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nilanjan.gogoi1856 Nilanjan Gogoi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment