Comments (2)
Currently this is true
- eventGrid trigger function basically takes in an eventGrid event and expect void as return value, this does not give you any control over the http return code (although I think we can maybe improve this, ie expect a boolean return value, and we will send 400 back to eventGrid when we encountered "false" or exceptions)
- retry is more complicated when eventGrid enables batching (array of events in a single http request), if one of the entry causes a failure, eventGrid will resent the whole message, this would require extra work at client side to deduplicate. So for functions, we will return 202 when message is received from eventGrid and we will handle the retry of individual events in the extension (currently under development)
- However, for failures other than user code, ie 404, 401, 503 we will still trigger retry
from azure-functions-eventgrid-extension.
Thank you for the detailed reply. I understand the architectural concepts and therefore the current design.
I will use the HttpTrigger for now for retries and make the processing of messages idempotent.
I'm curious to understand the Event Grid delivery/batching strategy. What I have experienced the messages are always sent in batches of one. I haven't found anything in the docs about this.
Cheers
Weikko
from azure-functions-eventgrid-extension.
Related Issues (20)
- Is there a way to configure EventGridTrigger locally to use hybrid relay endpoint? HOT 2
- Event Grid not delivery storage blob create events to function app running in Azure HOT 1
- This repo is missing important files HOT 1
- EventGrid Trigger function returns Error: connect ECONNREFUSED 127.0.0.1:7071 when debugged locally HOT 1
- CloudEvent schema not working for EventGridTrigger HOT 1
- Event grid messages get instantly dropped while function app is stopped
- How is Event Grid Triggered For Batched Messaging (Azure Functions)
- Retry and DeadLettering Handling for eventGridTrigger functions
- CloudEvents schema in Python functions
- EventGrid to Azure Function
- Support event grid trigger from function without public endpoint
- Event type is always null,
- Azure Functions broken for NetCore3.1 HOT 5
- EventGrid Output binding error after converting to .net core 3.1 HOT 6
- We need to support the newer cloud event HOT 5
- Event Grid Trigger missing direction in function.json HOT 3
- EventGrid trigger throwing MethodNotImplemented exception. HOT 1
- Provide support for CloudEvents 1.0 HOT 2
- How to deploy a multi-region / DR configuration
- Extension does not await batch execution and can cause deadlocks/failed deliveries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-functions-eventgrid-extension.