title: Storm max spout pending
body: <p>This is a question regarding how Storm's max spout pending works. I currently have a spout that reads a file and emits a tuple for each line in the file (I know Storm is not the best solution for dealing with files but I do not have a choice for this problem). </p>
  
  <p>I set the <code>topology.max.spout.pending</code> to 50k to throttle how many tuples get into the topology to be processed.  However, I see this number not having any effect in the topology.  I see all records in a file being emitted every time. My guess is this might be due to a loop I have in the <code>nextTuple()</code> method that emits all records in a file. </p>
  
  <p>My question is: Does Storm just stop calling <code>nextTuple()</code> for the Spout task when <code>topology.max.spout.pending</code> is reached? Does this mean I should only emit one tuple every time the method is called?</p>