Skip to content

A Azure Function subscribing a topic in a Azure Service Bus

Notifications You must be signed in to change notification settings

lucasfogliarini/azureservicebus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

O que é isso, GPT?

Este código é uma função do Azure Functions que é disparada pelo tópico "topic1" do Azure Service Bus. Quando uma mensagem é publicada no tópico "topic1", a função é acionada e recebe um objeto "Account" como parâmetro. Ela também recebe informações sobre a mensagem, como a data de encaminhamento, a contagem de entrega e o ID da mensagem. Em seguida, a função cria uma conexão com o armazenamento de blobs do Azure e baixa um arquivo chamado "athenas.png" para a memória. Ele também extrai o conteúdo do arquivo em forma de array de bytes e stream.

https://chat.openai.com/chat

ChatGPT Dec 15 Version: https://help.openai.com/en/articles/6825453-chatgpt-release-notes

About

A Azure Function subscribing a topic in a Azure Service Bus

Topics

Resources

Stars

Watchers

Forks

Languages