title: Is Event Sourcing applicable for batch inputs?
body: <p>I have a use case where the inputs to the application comes in batches of XML files. For example, a nightly batch of bank transactions. I am trying to see if I can use event sourcing to create a log of events. Based on what I read so far, the examples seems to be based on user driven input (click streams, updates from a user interface etc.,). Is event sourcing using a distributed log mechanism(like Kafka) a valid approach for batch/file based inputs? </p>
  
  <p>Below is the approach I would like to take:</p>
  
  <ol>
  <li>Accept input as a batch in file/xml</li>
  <li>Run some basic validations in the memory.</li>
  <li>Convert the batch input into a series of events </li>
  <li>Write the event log to a Kafka topic(s).</li>
  <li>Use the event log to store the data into the database, send the events 
  to a search engine, update caches, run spark jobs to do aggregations 
  etc.,</li>
  <li>Repeat the process for other incoming batches.  </li>
  </ol>
  
  <p>If this approach is not efficient, what other options are available for distributed processing of such inputs? </p>