You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Charly Molter (JIRA)" <ji...@apache.org> on 2018/01/12 10:23:00 UTC

[jira] [Commented] (KAFKA-6204) Interceptor and MetricsReporter should implement java.io.Closeable

    [ https://issues.apache.org/jira/browse/KAFKA-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323797#comment-16323797 ] 

Charly Molter commented on KAFKA-6204:
--------------------------------------

This is stuck on the java8 upgrade so we can have a default implementation for backward compatibility

> Interceptor and MetricsReporter should implement java.io.Closeable
> ------------------------------------------------------------------
>
>                 Key: KAFKA-6204
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6204
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Charly Molter
>            Priority: Minor
>
> The serializers and deserializers extends the Closeable interface, even ConsumerInterceptors and ProducerInterceptors implement it.
> ConsumerInterceptor, ProducerInterceptor and MetricsReporter do not extend the Closeable interface.
> Maybe they should for coherency with the rest of the apis.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)