MINOR: Changed javadoc on KafkaConsumer#endOffsets
@@ -1644,7 +1644,9 @@ public class KafkaConsumer<K, V> implements Consumer<K, V> {
/**
* Get the last offset for the given partitions. The last offset of a partition is the offset of the upcoming
- * message, i.e. the offset of the last available message + 1.
+ * message, i.e. the offset of the last available message + 1. If messages have never been written
+ * to the the partition, the offset returned will be 0.
+ *
* <p>
* Notice that this method may block indefinitely if the partition does not exist.
* This method does not change the current consumer position of the partitions.
