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

    https://github.com/apache/storm/pull/1959#discussion_r102533777
  
    --- Diff: 
external/storm-kafka-client/src/test/java/org/apache/storm/kafka/spout/test/KafkaSpoutTopologyMainNamedTopics.java
 ---
    @@ -94,10 +98,10 @@ protected StormTopology getTopologyKafkaSpout() {
     
         protected KafkaSpoutConfig<String,String> getKafkaSpoutConfig() {
             ByTopicRecordTranslator<String, String> trans = new 
ByTopicRecordTranslator<>(
    -                (r) -> new Values(r.topic(), r.partition(), r.offset(), 
r.key(), r.value()),
    --- End diff --
    
    I find it surprising that the lambda function does not work here.  I 
remember explicitly checking to see if it would produce a static lambda or not, 
and I thought it would create a static one.


---
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