Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.0.0
-
None
Description
The method org.apache.storm.kafka.spout.KafkaSpoutRetryExponentialBackoff#retriableTopicPartitions currently uses TreeMap but TopicPartition does not implement Comparable. Since ordering is not important, HashMap is the most appropriate data structure here, and the one I meant to use to begin with.
The fix will replace TreeMap with HashMap.
This issue was found by @jianbzhou and credit should be given to him.
Attachments
Issue Links
- is duplicated by
-
STORM-1747 storm-kafka-client KafkaSpoutRetryExponentialBackoff throws exception
- Resolved
- links to