Skip to content

Commit

Permalink
[pulsar-client] fix NPE: while configuring consumer builder (apache#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia authored Mar 29, 2021
1 parent af6eaba commit 9db880e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public ConsumerBuilder<T> enableBatchIndexAcknowledgment(boolean batchIndexAckno
@Override
public ConsumerBuilder<T> expireTimeOfIncompleteChunkedMessage(long duration, TimeUnit unit) {
conf.setExpireTimeOfIncompleteChunkedMessageMillis(unit.toMillis(duration));
return null;
return this;
}

}

0 comments on commit 9db880e

Please sign in to comment.