title: Event Hub input binding for Azure Functions
body: <p>I have an Azure Function with an input binding to an Event Hub.</p>
  
  <pre><code>public static async Task Run(TraceWriter log, string eventHubMessage)
  </code></pre>
  
  <p>When the function is triggered, how many messages does it receive per execution by default?</p>
  
  <p>Is it 1 execution = 1 message? </p>
  
  <p>I have read the documentation and understand you can set these properties in the function's host.json file:</p>
  
  <pre><code>"eventHub": {
    // The maximum event count received per receive loop. The default is 64.
    "maxBatchSize": 64,
    // The default PrefetchCount that will be used by the underlying EventProcessorHost.
    "prefetchCount": 256
  }
  </code></pre>
  
  <p>Does maxBatchSize mean I will receive 64 messages in 1 execution?</p>