incubator-kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject svn commit: r1179500 - /incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala
Date Thu, 06 Oct 2011 05:04:40 GMT
Author: junrao
Date: Thu Oct  6 05:04:40 2011
New Revision: 1179500

URL: http://svn.apache.org/viewvc?rev=1179500&view=rev
Log:
trivial change to print out last offset in DumpLogSegments

Modified:
    incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala

Modified: incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala
URL: http://svn.apache.org/viewvc/incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala?rev=1179500&r1=1179499&r2=1179500&view=diff
==============================================================================
--- incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala (original)
+++ incubator/kafka/trunk/core/src/main/scala/kafka/tools/DumpLogSegments.scala Thu Oct  6
05:04:40 2011
@@ -44,6 +44,7 @@ object DumpLogSegments {
             println("payload:\t" + Utils.toString(messageAndOffset.message.payload, "UTF-8"))
           offset = messageAndOffset.offset
         }
+        println("tail of the log is at offset: " + (startOffset + offset)) 
       }
     }
   }



Mime
View raw message