Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5676

MockStreamsMetrics should be in o.a.k.test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                guozhang Guozhang Wang
                Reviewer:
                Guozhang Wang
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 96h
                  96h