Skip to content

v1.1.0-alpha2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mathewc mathewc released this 09 Nov 20:26
· 1045 commits to dev since this release

See Azure Blog post for more details on this release.

  • Singleton
    • New SingletonAttribute for job functions that allows you to declaratively specify that only a single instance of the function should be run at any given time (even across scaled out instances).
    • Behind the scenes, this distributed locking is achieved by using Blob leases.
    • Singleton locking can be based on a custom scopes, which can come from path binding (i.e. from trigger data)
    • Support for Singleton Listeners (i.e. a trigger binding can declare its listener Singleton). An example of this is TimerTrigger. For a timer, you don't want it running the same schedule on multiple scaled out instances.
    • Sample here
  • Logging/Tracing Extensibility
    • Allow custom TraceWriters to be plugged into the host via JobHostConfiguration.Tracing
    • Allow the Console output TraceLevel to be customized via JobHostConfiguration.Tracing.ConsoleLevel. This is very useful (and recommended) for local debugging.
    • Added a new TraceWriter binding (similar to TextWriter) that allows functions to bind to the TraceWriter
    • Sample here
  • ServiceBus Messaging improvements
    • Allow deep customization of Message processing via ServiceBusConfiguration.MessagingProvider
    • MessagingProvider supports customization of the ServiceBus MessagingFactory and NamespaceManager
    • A new MessageProcessor strategy pattern allows you to specify a processor per queue/topic
    • Support message processing concurrency by default (previously there was no concurrency)
    • Easy customization of OnMessageOptions via ServiceBusConfiguration.MessageOptions
    • Sample here
  • Lowered the JobHostQueuesConfiguration.MaxPollingInterval to 100ms (from 2 seconds)
  • Fixed bugs in Blob container scan logic
  • Misc. bug fixes