kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5676) MockStreamsMetrics should be in o.a.k.test
Date Fri, 11 Aug 2017 18:55:02 GMT

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

Guozhang Wang commented on KAFKA-5676:

Yeah I think creating a WIP PR and communicate over that diff file would be faster and more

> MockStreamsMetrics should be in o.a.k.test
> ------------------------------------------
>                 Key: KAFKA-5676
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5676
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Chanchal Singh
>              Labels: newbie
>          Time Spent: 96h
>  Remaining Estimate: 0h
> {{MockStreamsMetrics}}'s package should be `o.a.k.test` not `o.a.k.streams.processor.internals`.

> In addition, it should not require a {{Metrics}} parameter in its constructor as it is
only needed for its extended base class; the right way of mocking should be implementing {{StreamsMetrics}}
with mock behavior than extended a real implementaion of {{StreamsMetricsImpl}}.

This message was sent by Atlassian JIRA

View raw message