chirag-wadhwa5 commented on code in PR #18696:
URL: https://github.com/apache/kafka/pull/18696#discussion_r1931679737
##########
core/src/main/java/kafka/server/share/SharePartition.java:
##########
@@ -2205,6 +2310,40 @@ Timer timer() {
return timer;
}
+ // Visible for testing
+ Optional<InitialReadGapOffset> initialReadGapOffset() {
+ return Optional.ofNullable(initialReadGapOffset);
+ }
Review Comment:
Thanks for the review. I have removed the Optional from there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]