You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2018/06/11 06:48:00 UTC

[jira] [Created] (KAFKA-7032) The TimeUnit is neglected by KakfaConsumer#close(long, TimeUnit)

Chia-Ping Tsai created KAFKA-7032:
-------------------------------------

             Summary: The TimeUnit is neglected by KakfaConsumer#close(long, TimeUnit)
                 Key: KAFKA-7032
                 URL: https://issues.apache.org/jira/browse/KAFKA-7032
             Project: Kafka
          Issue Type: Bug
          Components: consumer
    Affects Versions: 2.0.0
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai
             Fix For: 2.0.0


{code:java}
@Deprecated
@Override
public void close(long timeout, TimeUnit timeUnit) {
close(Duration.ofMillis(TimeUnit.MILLISECONDS.toMillis(timeout)));
}{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)