Consume Azure Queues with Azure Function Queue Trigger [Python] V2.

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 12

  • @pranathivinnakota7046
    @pranathivinnakota7046 2 місяці тому +1

    Thank you ! It helped me so much.

  • @jathinchandran5109
    @jathinchandran5109 9 місяців тому +1

    Great content. Especially, describing the bug and the solution. Thank you!

  • @fernandofischer3725
    @fernandofischer3725 6 місяців тому +1

    very helpful

  • @user-tl2oc2hl7e
    @user-tl2oc2hl7e 11 місяців тому +1

    Awesome work. There is very limited info on Azure Function v2 model.

    • @pytalista
      @pytalista  11 місяців тому

      Thanks 🙏🏻

  • @Omar-zq4wx
    @Omar-zq4wx 2 місяці тому

    but the connection string how should it be if i want to run it locallt? In settings i put QueueConnectionString="UseDevelopmentStorage=true" I run the function app locally and it works. Then to send a message I i used you second script (but i'm usign my connection string) but it says ValueError: Connection string missing required connection details.

    • @pytalista
      @pytalista  2 місяці тому

      Hard without context. But I would watch the video and follow exactly. Looks like you are not inserting your connection string in the code. Read this question that may point you on the right direction. stackoverflow.com/questions/2338650/connection-string-to-an-azure-cloud-storage-account

    • @Omar-zq4wx
      @Omar-zq4wx 2 місяці тому

      @@pytalista I'm trying to test the queue trigger fucntionapp locally. Then I do not want to use a queue storage that is in portal azure but one for develpment. For example with the eventgrid function in the settings I have this "AzureWebStorage"=UseDevelopmentStorage=true". I'm asking if there is anything similar for the connection string

    • @Omar-zq4wx
      @Omar-zq4wx 2 місяці тому

      @@pytalista Ok, I solved. If you want to use Azurite and therefore run it locally the connection string on the function app should be "UseDevelopmentStorage=true". Then when u want to send a message the connection string for the queue storage only is DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;QueueEndpoint=127.0.0.1:10001/devstoreaccount1;