Updated protobufjs to latest version
This commit is contained in:
@ -36,11 +36,24 @@ function CreatePersistentSubscriptionOperation(log, cb, stream, groupName, setti
|
||||
util.inherits(CreatePersistentSubscriptionOperation, OperationBase);
|
||||
|
||||
CreatePersistentSubscriptionOperation.prototype._createRequestDto = function() {
|
||||
return new ClientMessage.CreatePersistentSubscription(this._groupName, this._stream, this._resolveLinkTos,
|
||||
this._startFromBeginning, this._messageTimeoutMilliseconds, this._recordStatistics, this._liveBufferSize,
|
||||
this._readBatchSize, this._bufferSize, this._maxRetryCount,
|
||||
this._namedConsumerStrategy === SystemConsumerStrategies.RoundRobin, this._checkPointAfter,
|
||||
this._maxCheckPointCount, this._minCheckPointCount, this._maxSubscriberCount, this._namedConsumerStrategy);
|
||||
return new ClientMessage.CreatePersistentSubscription({
|
||||
subscriptionGroupName: this._groupName,
|
||||
eventStreamId: this._stream,
|
||||
resolveLinkTos: this._resolveLinkTos,
|
||||
startFrom: this._startFromBeginning,
|
||||
messageTimeoutMilliseconds: this._messageTimeoutMilliseconds,
|
||||
recordStatistics: this._recordStatistics,
|
||||
liveBufferSize: this._liveBufferSize,
|
||||
readBatchSize: this._readBatchSize,
|
||||
bufferSize: this._bufferSize,
|
||||
maxRetryCount: this._maxRetryCount,
|
||||
preferRoundRobin: this._namedConsumerStrategy === SystemConsumerStrategies.RoundRobin,
|
||||
checkpointAfterTime: this._checkPointAfter,
|
||||
checkpointMaxCount: this._maxCheckPointCount,
|
||||
checkpointMinCount: this._minCheckPointCount,
|
||||
subscriberMaxCount: this._maxSubscriberCount,
|
||||
namedConsumerStrategy: this._namedConsumerStrategy
|
||||
});
|
||||
};
|
||||
|
||||
CreatePersistentSubscriptionOperation.prototype._inspectResponse = function(response) {
|
||||
|
Reference in New Issue
Block a user