Stig Rohde Døssing created STORM-2991:

             Summary: Use MockConsumer for tests where possible in 
storm-kafka-client instead of using a raw Mockito mock
                 Key: STORM-2991
             Project: Apache Storm
          Issue Type: Improvement
          Components: storm-kafka-client
    Affects Versions: 2.0.0
            Reporter: Stig Rohde Døssing
            Assignee: Stig Rohde Døssing

MockConsumer seems like it will be less brittle for testing than using a raw 
Mockito mock, e.g. we don't have to manually stub the Consumer.position call. 
We should try to replace the mocks in existing tests.

This message was sent by Atlassian JIRA

Reply via email to