Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/1959#discussion_r102604842
--- 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 --
`(Values & Serializable)(r) -> new Values(r.topic(), r.partition(),
r.offset(), r.key(), r.value()` might work, but still think Func should be
Serializable.
---
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.
---