How Kafka schedule the producers and consumers?
<p>I am studying the internals of Apache Kafka; how it works.</p>

<p>The Kafka brokers deal with the requests from the multiple producers and consumers.</p>

<p>I want to know how Kafka schedules those requests. (i.e. FCFS)
 - Is it First-Come-First-Served (FCFS) or Processor Sharing (PS) ?
 - Does the producers have the higher priorities than consumers?</p>

<p>The Kafka official documentation does not have explanation on it.
Can anyone give me an idea on this?</p>

<p>Thanks,</p>