Azure Scheduler
When to Use Azure Service Bus Scheduler
How Brighter Integrates with Azure Service Bus Scheduler
Authentication and Credentials
Managed Identity (Recommended for Production)
Visual Studio Credentials (Development)
Connection String (Simple, Less Secure)
Default Azure Credentials (Flexible)
RBAC Permissions Required
NuGet Package
Configuration
Basic Configuration
Configuration with Dispatcher (FireAzureScheduler Handler)
Configuration with Custom Sender Options
Configuration with Custom TimeProvider
Code Examples
Basic Scheduling with Delay
Scheduling with Absolute Time
Cancelling a Scheduled Job
Rescheduling (Cancel + Schedule)
Comparison with Other Schedulers
Feature
Azure Service Bus
AWS Scheduler
Quartz.NET
Hangfire
InMemory
Best Practices
1. Use Managed Identity in Production
2. Use Separate Scheduler Topic
3. Handle Reschedule as Cancel + Schedule
4. Set Appropriate Message TTL
5. Monitor with Azure Monitor
6. Use Service Bus Premium for Production
7. Configure Dead-Letter Queue
8. Test Locally with Azurite
Troubleshooting
Scheduled Messages Not Executing
Authentication Failures
Reschedule Not Working
Messages Going to Dead-Letter Queue
Migration from Other Schedulers
From InMemory Scheduler
From Quartz or Hangfire to Azure Service Bus
Related Documentation
External Links
Summary
Last updated
Was this helpful?
