Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhaskar authored Feb 11, 2020
1 parent ffa0c09 commit 8e6115a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public DocumentProducer(

this.correlatedActivityId = correlatedActivityId;

this.feedOptions = feedOptions != null ? feedOptions : new FeedOptions();
this.feedOptions = feedOptions != null ? new FeedOptions(feedOptions) : new FeedOptions();
this.feedOptions.requestContinuation(initialContinuationToken);
this.lastResponseContinuationToken = initialContinuationToken;
this.resourceType = resourceType;
Expand All @@ -161,9 +161,9 @@ public Flux<DocumentProducerFeedResponse> produceAsync() {
.getPaginatedQueryResultAsObservable(
feedOptions.requestContinuation(),
sourcePartitionCreateRequestFunc,
executeRequestFuncWithRetries,
resourceType,
top,
executeRequestFuncWithRetries,
resourceType,
top,
pageSize)
.map(rsp -> {
lastResponseContinuationToken = rsp.continuationToken();
Expand Down Expand Up @@ -220,7 +220,7 @@ private List<DocumentProducer<T>> createReplacingDocumentProducersOnSplit(List<P
}
return replacingDocumentProducers;
}

protected DocumentProducer<T> createChildDocumentProducerOnSplit(
PartitionKeyRange targetRange,
String initialContinuationToken) {
Expand Down

0 comments on commit 8e6115a

Please sign in to comment.