Skip to content

NsqSharp 0.5.1-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@judwhite judwhite released this 09 Aug 07:27
· 113 commits to master since this release

New features:

  • Add INsqdPublisher interface to control publishing on the bus
  • Add NsqdHttpPublisher and NsqdTcpPublisher built-in implementations of INsqdPublisher
  • BusConfiguration:
    • Add optional bool logOnProcessCrash parameter to constructor (default is true); closes #22
    • Add optional INsqdPublisher parameter to constructor (default is NsqdTcpPublisher)
  • Producer: Set id to sequential instance count, used in logging (feature has existed in Consumer)

Breaking changes (and some new features):

  • BusConfiguration:
    • Change defaultConsumerNsqConfig parameter name to nsqConfig in constructor (affects Consumer same as before; now also affects Producer if NsqdTcpPublisher used)
  • Default publish method (when calling bus.Send) changed from HTTP to TCP
  • Remove static class NsqdHttpApi, replaced with NsqdHttpClient and NsqlookupdHttpClient
  • Consumer, Producer, and Chan<T> classes sealed

Bug fixes:

  • Remove /ping check at bus start; closes #23