Github user harshach commented on a diff in the pull request:
https://github.com/apache/storm/pull/1541#discussion_r69851558
--- Diff: storm-core/src/jvm/org/apache/storm/utils/TopologySpoutLag.java
---
@@ -43,26 +43,44 @@
public static List<Map<String, Object>> lag (StormTopology
stormTopology, Map topologyConf) {
List<Map<String, Object>> result = new ArrayList<>();
Map<String, SpoutSpec> spouts = stormTopology.get_spouts();
- Object object = null;
+ String className = null;
for (Map.Entry<String, SpoutSpec> spout: spouts.entrySet()) {
try {
SpoutSpec spoutSpec = spout.getValue();
ComponentObject componentObject =
spoutSpec.get_spout_object();
- object = Utils.getSetComponentObject(componentObject);
--- End diff --
@HeartSaVioR how do we deserialize for supervisors or others they don't
have any dependency on spouts or any other component.
---
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.
---