Add node v4 programming model samples #551
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding samples for the node v4 programming model.
References:
Azure/azure-functions-nodejs-library#152
Azure/azure-functions-nodejs-worker#480
Migrate to v4 of the Node.js model for Azure Functions | Microsoft Learn
ejizba/func-nodejs-prototype
Adding a new version model files instead of upgrading the existing since users can choose to use the older version.
Pointing out that
v4
here is independent of the host version. Although the model requires at least host version v4.25+, v4 here refers to the version of npm module. (https://www.npmjs.com/package/@azure/functions)Need to add:
Retrying mechanism for Fixed, Exponential.
Also added:
Samples for using key avro schema, key data type with version 4.1.0 of extension.
Tests:
Tested each file with eventhub/confluent to ensure proper working.