KazydubB commented on a change in pull request #1455: DRILL-6724: Convert 
IndexOutOfBounds exception to UserException with …
URL: https://github.com/apache/drill/pull/1455#discussion_r217050673
 
 

 ##########
 File path: 
contrib/storage-kafka/src/main/java/org/apache/drill/exec/store/kafka/KafkaRecordReader.java
 ##########
 @@ -116,6 +118,7 @@ public int next() {
         if (++messageCount >= DEFAULT_MESSAGES_PER_BATCH) {
           break;
         }
+        currentMessageCount = messageCount;
 
 Review comment:
   Good point, removed local variable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to