title: Kafka ordering with multiple producers on same topic and parititon
body: <p>Let's say I have two producers (ProducerA and ProducerB) writing to the same topic with a single partition. Each producer is writing it's own unique events serially. So if ProducerA fired 3 events and then ProducerB fired 3 events, my understanding is that Kafka cannot guarantee the order across the producer's events like this:</p>
  
  <ol>
  <li>ProducerA_event_1</li>
  <li>ProducerA_event_2</li>
  <li>ProducerA_event_3</li>
  <li>ProducerB_event_1</li>
  <li>ProducerB_event_2</li>
  <li>ProducerB_event_3</li>
  </ol>
  
  <p>due to acking, retrying, etc.</p>
  
  <p>However will individual producer's events still be in order? For example:</p>
  
  <ol>
  <li>ProducerA_event_1</li>
  <li>ProducerB_event_2</li>
  <li>ProducerB_event_1</li>
  <li>ProducerA_event_2</li>
  <li>ProducerA_event_3</li>
  <li>ProducerB_event_3</li>
  </ol>
  
  <p>This is of course a simplified version of what I am doing, but I just want to guarantee that if I am reading from a topic for a specific producer's events, then those events will be in order even if other producer's events interleave them.</p>