divijvaidya commented on code in PR #13135: URL: https://github.com/apache/kafka/pull/13135#discussion_r1176575715
########## clients/src/main/java/org/apache/kafka/common/utils/ByteBufferInputStream.java: ########## @@ -29,6 +30,11 @@ public ByteBufferInputStream(ByteBuffer buffer) { this.buffer = buffer; } + @Override + public int available() throws IOException { Review Comment: I have added tests now which fail prior to the fix and are successful after it. I caught this bug when the read() of an InputStream calls in.available() and it was returning 0. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org