Github user hmcl commented on a diff in the pull request: https://github.com/apache/storm/pull/2465#discussion_r157374894 --- Diff: external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java --- @@ -636,4 +675,45 @@ public String toString() { private String getTopicsString() { return kafkaSpoutConfig.getSubscription().getTopicsString(); } + + public static class Info { + private final String topologyId; + private final int taskId; + private final String thread; + + @JsonCreator + public Info(@JsonProperty("topologyId") String topologyId, + @JsonProperty("taskId") int taskId, + @JsonProperty("thread") String thread) { + + this.topologyId = topologyId; + this.taskId = taskId; + this.thread = thread; + } + + public Info(Thread thread, TopologyContext context) { --- End diff -- Done
---