title: Blocking process in storm spout
body: <p>I'm want to implement a spout as a Socket Listener. To check how blocking process works in storm, I <code>Scanner.in</code> the spout of WordCounter example as folows</p>
  
  <pre><code>public void nextTuple() {
          /**
           * The nextuple it is called forever, so if we have been readed the file
           * we will wait and then return
           */
          Scanner scanner=new Scanner(System.in);
          scanner.next();
  
          /* Code to read from file */
  
      }
  </code></pre>
  
  <p>When I try to run this some error occurs. If I remove the scanner code, the example runs fine. Can someone tell me how blocking processes are handled in storm??</p>