Skip to Content
Azure Serverless Computing Cookbook - Second Edition
book

Azure Serverless Computing Cookbook - Second Edition

by Praveen Kumar Sreeram, Jason Marston
November 2018
Intermediate to advanced
424 pages
10h 55m
English
Packt Publishing
Content preview from Azure Serverless Computing Cookbook - Second Edition

How it works...

We have created a console application that creates messages in Azure Queue storage, and also developed a queue trigger that is capable of reading the messages in the queue. As part of simulating an unexpected error, we are throwing an error if the value in the queue message content is greater than 50.

Azure Functions will take care of creating a new queue with the name <OriginalQueueName>-Poison, and will insert all the unprocessed messages in the new queue. Using this new poison queue, developers can review the content of the messages and take necessary actions to fix errors in the applications.

The Azure Function runtime will take care of deleting the queue message after Azure Function execution has completed successfully. If ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook

Azure Serverless Computing Cookbook

Praveen Kumar Sreeram
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo
Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni

Publisher Resources

ISBN: 9781789615265Supplemental Content