1. 1.1 Message Queue Introductionhistorical

    Message queues decouple producers and consumers through intermediate storage. These notes examine their need by comparing them with database polling.

  2. 1.2 Message Ordering in Message Queueshistorical

    When insert and update messages reach different consumers, execution can differ from sending order. These notes use that example to examine message ordering.

  3. 2.1 Kafka Installationhistorical

    Kafka package names include Scala and Kafka versions. These notes start with extraction and PATH configuration and record installation and startup.

  4. 2.2 Kafka Introductionhistorical

    Kafka is a distributed messaging system with uses in persistent messaging and stream processing. These notes link installation, usage, architecture, and related topics.

  5. 2.3 Kafka Usagehistorical

    These notes begin with Topic creation and record Kafka command-line usage, using partition and replica counts to examine storage and deployment.

  6. 2.4 Kafka Architecturehistorical

    Kafka Architecture: A Producer sends messages to a specific Topic. Messages in the Topic are stored on Brokers, and a Consumer consumes messages by subscribing to a specific Topic.

  7. 2.5 Kafka Producerhistorical

    Kafka producers send messages to brokers. These notes trace sending through the main thread, Sender, and RecordAccumulator.

  8. 2.6 Kafka Brokerhistorical

    A Kafka broker is a server node responsible for storing messages. Brokers form a cluster, and these notes continue with roles such as the controller.

  9. 2.7 Kafka Consumerhistorical

    Kafka consumers pull messages from brokers. These notes examine message assignment and progress management through consumer groups.

  10. 2.8 Kafka Message Disk Storagehistorical

    Each Kafka partition has a directory with messages organized into segments and accompanying log, offset-index, and time-index files.