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

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 18

  • @jathinchandran5109
    @jathinchandran5109 Год назад +1

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

  • @pranathivinnakota7046
    @pranathivinnakota7046 7 месяцев назад +1

    Thank you ! It helped me so much.

    • @pytalista
      @pytalista  7 месяцев назад

      Thanks 🙏🏻

  • @YogeshJain-n2c
    @YogeshJain-n2c Год назад +1

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

  • @fernandofischer3725
    @fernandofischer3725 11 месяцев назад +1

    very helpful

    • @pytalista
      @pytalista  11 месяцев назад

      Thanks 🙏🏻

  • @GabrielFraga-c2k
    @GabrielFraga-c2k 2 месяца назад

    I can use this method trigger queue but inside an azure container apps?

    • @pytalista
      @pytalista  2 месяца назад

      This is a good question. Never done. I would guess not. I think the library wouldn’t work outside a serverless context. You can try.

  • @Omar-zq4wx
    @Omar-zq4wx 6 месяцев назад

    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  6 месяцев назад

      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 6 месяцев назад

      @@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 6 месяцев назад

      @@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;

  • @srk5702
    @srk5702 4 месяца назад +1

    It was awesome, Can you share the code or github link?
    Thanks in advance

    • @pytalista
      @pytalista  3 месяца назад

      thanks.
      github.com/pedrojunqueira/PytalistaYT/tree/master/Python/function-queue-trigger

  • @kaushikchakraborty4887
    @kaushikchakraborty4887 Месяц назад +1

    background music is loud