title: How many instances of Flink Functions is created?
body: <p>Assuming the following pipeline:</p>
  
  <pre><code>input.filter(new RichFilterFunction&lt;MyPojo&gt;() {
          @Override
          public boolean filter(MyPojo value) throws Exception {
              return false;
          }
       });
  </code></pre>
  
  <p>How many instances of the above rich function will be created?</p>
  
  <ul>
  <li>Per task with no exceptions</li>
  <li>Per task, however all parallel tasks on a particular node share one instance, since they are part of one JVM instance</li>
  </ul>