ServiceBus Client 2.6 Nuget is now live on Nuget.org


Yesterday the Service Bus Engineering team updated our public nuget feed with our 2.6 client updates This update contains a lot of updates and additions directly requested from our customers. Please always use the latest Azure Service Bus packages.

https://www.nuget.org/packages/WindowsAzure.ServiceBus/2.6.0

https://www.nuget.org/packages/Microsoft.Azure.ServiceBus.EventProcessorHost/1.1.0

https://www.nuget.org/packages/WindowsAzure.ServiceBus.PerformanceCounters/2.6.0

Release Notes

The following new features/fixes are introduced in Service Bus client: 

Event Hub Updates:

  • New feature ‘Send to Publisher’: Add support for sending events to EventHub via specific publisher endpoints. The feature allow events to be sent with more targeted access control. 
  • Increase reliability in EventHubConsumerGroup.CreateReceiver() call by adding internal retry logic to handle transient exceptions (using same RetryPolicy similar to other classes). 
  • Adding Api overloads for NamespaceManager.GetEventHubPartition(). 
  • Adding PrefetchSizeInBytes property to EventHubClient, EventHubConsumerGroup, and EventHubReceiver so that user can control prefetch limit using size rather than event counts. 
  • Adding EventData.SerializedSizeInBytes so that user has better ways to track data size usage. 
  • Adding new properties (LastEnqueuedOffset and LastEnqueuedTimeUtc) to PartitionDescription 
  • Adding new runtime info method EventHubClient.GetPartitionRuntimeInformationAsync() that returns new class PartitionRuntimeInformation to provide partition centric metadata. 
  • Adding support of Amqp over WebSocket transport for Event Hubs and Messaging. To use, make sure you are using Amqp transport type, and set ServiceBusEnvironment.SystemConnectivity.Mode to ConnectivityMode.Http before any entity creation.

Messaging Updates

  • Allow user to access Tcp connection pool’s LeaseTimeout property in the NetMessagingBinding. 
  • Improve exception message when user is using the runtime/management Api for the wrong entity types. 
  • Adding utility methods FormatTransferDeadLetterPath to TopicClient and QueueClient. 
  • Adding EntityPath and Publisher component to ServiceBusConnectionStringBuilder and connection string format. 
  • Adding new CreateFromConnectionString() overloads to TopicClient and QueueClient to support entity path in connection strings.

 

A big thank you to all our customers to requested changes and features and helped us uncover issues. This rapid update cadence is helping us to improve our service faster than ever! Also a big thank you to our excellent engineering team for all their hard work!

Comments (5)
  1. David says:

    I'm always curious (because it's hard to tell the difference between the two)- does this release only cover the Azure Service Bus, or does it also cover the on-premises version (Service Bus for Windows Server)?

  2. The "Azure" in the NuGet path tells us the answer. Service only this time.

  3. The LastEnqueuedOffset and LastEnqueuedTimeUtc property addition is what I need! Working with offset was a pain. Now it is much better.

    Does WebSocket mean better speed? Any measurements up to date?

    Dan, what about more samples? It is pity, such wealthy functionality cannot be used because of lack of samples. Each and every property and method means something in design, and without respective sample code they usage is not clear and sound. Short description in docs does never match a small sample code!!!!!!!!!!! It is high priority!

    Seems EventHub is on good speed. Thanks!!!

  4. Leonid – Samples are a great thing for MVPs to contribute – or people looking to get MVPs!

  5. Tudor T. says:

    I'm sorry, but it's not MVPs job to write samples for Microsoft – MS employees should do this if they want to sell this product.

Comments are closed.

Skip to main content