kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [kafka] branch trunk updated: HOTFIX: KAFKA-7097; Set create time default to -1L in VerifiableProducer
Date Fri, 29 Jun 2018 20:50:33 GMT
This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 18181ca  HOTFIX: KAFKA-7097; Set create time default to -1L in VerifiableProducer
18181ca is described below

commit 18181ca953b672e8856879e1daff530deccc2fec
Author: Guozhang Wang <wangguoz@gmail.com>
AuthorDate: Fri Jun 29 13:50:28 2018 -0700

    HOTFIX: KAFKA-7097; Set create time default to -1L in VerifiableProducer
    
    Reviewers: Anna Povzner <anna@confluent.io>, Ted Yu <yuzhihong@gmail.com>,
Jason Gustafson <jason@confluent.io>
---
 tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java b/tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java
index 168ce17..fafa9e6 100644
--- a/tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java
+++ b/tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java
@@ -164,7 +164,7 @@ public class VerifiableProducer {
         parser.addArgument("--message-create-time")
                 .action(store())
                 .required(false)
-                .setDefault(-1)
+                .setDefault(-1L)
                 .type(Long.class)
                 .metavar("CREATETIME")
                 .dest("createTime")


Mime
View raw message