Skip to content

NsqSharp 0.5.4

Latest
Compare
Choose a tag to compare
@judwhite judwhite released this 05 Oct 05:51
· 41 commits to master since this release

New features:

  • Add TLS support for Producers and Consumers. See example.
  • Add AutofacObjectBuilder convenience class; tested against Autofac 3.5.2. Supported in .NET 4.0 and higher. See example.

Fixed issues:

  • Fix race conditions in Producer and Consumer when nsqd connectivity lost; see #36.
  • If message Attempt > MaxAttempts try to get the resolved handler type and deserialized message body to send to MessageAuditor; mirrors behavior if Attempt <= MaxAttempts (see change).

Other:

  • Consumer: Remove internal class ApiRequest for querying nsqlookupd, replace with public class NsqLookupdHttpClient.
  • Config: Change default TCP WriteTimeout from 1s to 10s to maintain connectivity in higher latency scenarios; affects Producers and Consumers using default Config.WriteTimeout.
  • More helpful error messages when connecting to the wrong nsqd or nsqlookupd port.
  • Add strong name to NsqSharp.dll (thanks @crazybert).