Github user olegz commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/143#discussion_r47814729
  
    --- Diff: 
nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-processors/src/test/java/org/apache/nifi/processors/kafka/TestPutKafka.java
 ---
    @@ -474,6 +475,18 @@ public void setStopFailingAfter(final Integer 
stopFailingAfter) {
             @Override
             public void close() {
             }
    +
    +        @Override
    +        public void close(long arg0, TimeUnit arg1) {
    +            // TODO Auto-generated method stub
    +
    +        }
    +
    +        @Override
    +        public void flush() {
    +            // TODO Auto-generated method stub
    --- End diff --
    
    As you can see, this is a MockProducer defined in test. Those two methods 
are only there to comply with the changes in Kafka interface and are not part 
of the test assertions.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to