NsqSharp 0.5.1-beta1
Pre-release
Pre-release
New features:
- Add
INsqdPublisher
interface to control publishing on the bus - Add
NsqdHttpPublisher
andNsqdTcpPublisher
built-in implementations ofINsqdPublisher
BusConfiguration:
- Add optional
bool logOnProcessCrash
parameter to constructor (default istrue
); closes #22 - Add optional
INsqdPublisher
parameter to constructor (default isNsqdTcpPublisher
)
- Add optional
Producer
: Setid
to sequential instance count, used in logging (feature has existed inConsumer
)
Breaking changes (and some new features):
BusConfiguration:
- Change
defaultConsumerNsqConfig
parameter name tonsqConfig
in constructor (affectsConsumer
same as before; now also affectsProducer
ifNsqdTcpPublisher
used)
- Change
- Default publish method (when calling
bus.Send
) changed from HTTP to TCP - Remove static class
NsqdHttpApi
, replaced withNsqdHttpClient
andNsqlookupdHttpClient
Consumer
,Producer
, andChan<T>
classes sealed
Bug fixes:
- Remove /ping check at bus start; closes #23