-
Notifications
You must be signed in to change notification settings - Fork 0
Azure Functions Service Bus Extensions with Message Settlement #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a Node.js Azure Functions extension for Service Bus, adding TypeScript support, native message decoding and settlement via gRPC, and enterprise-grade tooling.
- Configure build setup with Webpack, TypeScript, ESLint, and proto copy
- Add utilities for lock‐token conversion, message decoding, and gRPC URI parsing with full tests
- Implement Service Bus message factory and gRPC settlement actions for completion, abandonment, dead-lettering, deferral, and lock management
Reviewed Changes
Copilot reviewed 30 out of 34 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| webpack.config.js | Adds TS/ESLint build config, externals, and proto copy |
| src/util/lockTokenUtil.ts | Implements lock token conversion and extraction |
| src/util/grpcUriBuilder.ts | Parses CLI args for host, port, and max message length |
| src/servicebus/azureServiceBusMessageFactory.ts | Builds message manager integrating decoder and gRPC client |
| src/servicebus/ServiceBusMessageActions.ts | Implements settlement actions via gRPC |
| README.md | Documentation for Blob extension (needs update) |
| package.json | Project metadata (description/version need correction) |
Comments suppressed due to low confidence (3)
azure-functions-nodejs-extensions-servicebus/src/util/grpcUriBuilder.ts:8
- [nitpick] Update the JSDoc to also mention the required 'functions-grpc-max-message-length' argument.
* It expects two arguments: 'host' and 'port'.
azure-functions-nodejs-extensions-servicebus/README.md:1
- The README still describes the Blob extension. Update it to document the Service Bus extension instead.
## Azure Functions Node.js Extensions - Blob
azure-functions-nodejs-extensions-servicebus/package.json:5
- Update the package description to reflect the Service Bus extension rather than the storage blob client.
"description": "Node.js Azure Storage Client extension implementations for Azure Functions",
Overview
This PR introduces a comprehensive Azure Functions Node.js extension for Service Bus integration, providing native TypeScript support and enterprise-grade message processing capabilities. This extension enables seamless integration between Azure Functions and Azure Service Bus with optimal performance, robust error handling, and production-ready features.
Key Features
Service Bus Message Factory
gRPC Client Infrastructure