Closed stanlemon closed 6 years ago
See https://github.com/salesforce/storm-dynamic-spout/blob/56a4cd0c0aae9a1689ab2ccbf7cc08f8e6842d2a/src/main/java/com/salesforce/storm/spout/dynamic/kafka/Consumer.java#L404
To avoid a Stackoverflow we should limit the number of times fillBuffer can be called recursively, basically setting an upper bounds to the times we attempt this during an OutOfRangeException.
See https://github.com/salesforce/storm-dynamic-spout/blob/56a4cd0c0aae9a1689ab2ccbf7cc08f8e6842d2a/src/main/java/com/salesforce/storm/spout/dynamic/kafka/Consumer.java#L404
To avoid a Stackoverflow we should limit the number of times fillBuffer can be called recursively, basically setting an upper bounds to the times we attempt this during an OutOfRangeException.