# Apache Kafka®

<style>
  /\* ── Shared page-width container ────────────────────────────────── \*/
  .hp-inner {
    max-width: 1568px;
    margin: 0 auto;
    padding: 0 var(--cf-space-32);
  }

  /\* ── Hero ───────────────────────────────────────────────────────── \*/
  .hp-hero {
    position: relative;
  }

  .hp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1568px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 0 var(--cf-space-32);
  }

  .hp-hero-content {
    padding: var(--cf-space-64) 0 var(--cf-space-80);
    max-width: 696px;
  }

  .hp-hero-title {
    font-family: var(--cf-font-family-heading);
    font-size: 52px !important;
    font-weight: 700;
    color: var(--cf-text-primary);
    line-height: 1.2;
    margin: 0 0 var(--cf-space-16);
    white-space: nowrap;
  }

  .hp-hero-desc {
    font-size: 1rem;
    color: var(--cf-text-primary);
    line-height: 1.6;
    margin: 0 0 var(--cf-space-32);
  }

  /\* Hero illustration — decorative background image, bleeds off the
     right edge of .hp-hero behind the max-width .hp-hero-inner content. \*/
  .hp-hero-illustration {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
  }

  .hp-hero-illustration img {
    width: 722px;
    height: auto;
  }

  /\* Light mode (default): show the light illustration, hide the dark one. \*/
  .hp-hero-illustration--dark {
    display: none;
  }

  [data-theme='dark'] .hp-hero-illustration--light {
    display: none;
  }
  [data-theme='dark'] .hp-hero-illustration--dark {
    display: block;
  }

  /\* ── Section shared ──────────────────────────────────────────────── \*/
  .hp-section {
    padding: var(--cf-space-24) 0;
  }

  .hp-section + .hp-section {
  }

  .hp-section-title {
    font-family: var(--cf-font-family-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--cf-text-primary);
    margin: 0 0 var(--cf-space-32);
    line-height: 1.25;
  }

  /\* ── 4-col card grid ─────────────────────────────────────────────── \*/
  .hp-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--cf-space-16);
  }

  .hp-card {
    background: var(--color-neutral-10);
    border: 1px solid var(--cf-border-subtle);
    border-radius: 8px;
    padding: var(--cf-space-24);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: var(--cf-space-24);
    transition: border-color 0.15s, box-shadow 0.15s;
  }

  [data-theme='dark'] .hp-card {
    background: var(--color-neutral-80);
  }

  .hp-card:hover {
    border-color: var(--color-purple-40);
    box-shadow: var(--cf-elevation-01);
    text-decoration: none;
  }

  .hp-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .hp-card-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  /\* Light mode (default): show the light-theme icon, hide the dark-theme icon. \*/
  .hp-card-icon img[data-theme-icon='dark'] {
    display: none;
  }

  /\* Dark mode: show the dark-theme icon, hide the light-theme icon. \*/
  [data-theme='dark'] .hp-card-icon img[data-theme-icon='light'] {
    display: none;
  }

  [data-theme='dark'] .hp-card-icon img[data-theme-icon='dark'] {
    display: block;
  }

  .hp-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--cf-text-primary);
    margin: 0;
    line-height: 1.4;
  }

  .hp-card-text {
    font-size: 0.8125rem;
    color: var(--cf-text-secondary);
    line-height: 1.5;
    margin: 0;
    padding-top: 24px;
  }

  /\* ── Responsive ──────────────────────────────────────────────────── \*/

  /\* 1092px–1375px \*/
  @media (min-width: 1092px) and (max-width: 1375px) {
    .hp-inner,
    .hp-hero-inner { padding: 0 var(--cf-space-32); }

    .hp-hero-illustration img { width: 300px; }
  }

  /\* 832px–1091px (tablet) \*/
  @media (min-width: 832px) and (max-width: 1091px) {
    .hp-card-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-hero-inner { grid-template-columns: 1fr; }
    .hp-hero-illustration { display: none; }
    .hp-inner,
    .hp-hero-inner { padding: 0 var(--cf-space-32); }
  }

  /\* up to 831px (mobile) \*/
  @media (max-width: 831px) {
    .hp-inner,
    .hp-hero-inner { padding: 0 var(--cf-space-16); }
    .hp-hero-title { font-size: 2rem; white-space: normal; }
    .hp-hero-inner { grid-template-columns: 1fr; }
    .hp-hero-illustration { display: none; }
    .hp-card-grid { grid-template-columns: 1fr; }
  }
</style>

<!-- ── HERO ─────────────────────────────────────────────────────────── -->
<div class="hp-hero">
  <div class="hp-hero-inner">
    <div class="hp-hero-content">
      <h1 class="hp-hero-title">Apache Kafka® Documentation</h1>
      <p class="hp-hero-desc">
        Build streaming data pipelines and applications with the open-source distributed data streaming
        engine that thousands of companies use to power mission-critical operational and analytics use
        cases.
      </p>
      <a href="/kafka/introduction.html" class="cf-btn cf-btn-primary">Read the Kafka overview</a>
    </div>
  </div>

  <!-- Illustration -->
  <div class="hp-hero-illustration" aria-hidden="true">
      <img class="hp-hero-illustration--light" src="../_static/images/kafka_light.svg" alt="">
      <img class="hp-hero-illustration--dark"  src="../_static/images/kafka_dark.svg"  alt="">
  </div>
</div>

<!-- ── GET STARTED ───────────────────────────────────────────────────── -->
<div class="hp-section">
  <div class="hp-inner">
    <h2 class="hp-section-title">Get started</h2>
    <div class="hp-card-grid">
      <a class="hp-card" href="/cloud/current/get-started/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_kafka.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_kafka_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Quick start</div>
          <p class="hp-card-text">Launch fully managed Kafka workloads in minutes across AWS, GCP, and Azure.</p>
        </div>
      </a>
      <a class="hp-card" href="/cloud/current/connectors/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/icons/icon-connector.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/icons/alt/icon-connector.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka Connect</div>
          <p class="hp-card-text">Stream data seamlessly between Apache Kafka® and external systems.</p>
        </div>
      </a>
      <a class="hp-card" href="/kafka-clients/overview.html">
        <div class="hp-card-icon">
          <img src="/_static/images/icons/icon-apps.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/icons/alt/icon-apps.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka clients</div>
          <p class="hp-card-text">Produce and consume messages through Apache Kafka using official Confluent clients for Java, along with librdkafka and derived clients.</p>
        </div>
      </a>
    </div>
  </div>
</div>

<!-- ── PRODUCTS ──────────────────────────────────────────────────────── -->
<div class="hp-section">
  <div class="hp-inner">
    <h2 class="hp-section-title">Products</h2>
    <div class="hp-card-grid">
      <a class="hp-card" href="/platform/current/streams/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_streams.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_streams_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka Streams</div>
          <p class="hp-card-text">Build event-driven applications and microservices that process and stream data directly within Kafka.</p>
        </div>
      </a>
      <a class="hp-card" href="/platform/current/api-javadoc/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_apis.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_apis_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka APIs</div>
          <p class="hp-card-text">Programmatically produce, consume, stream, and administer data using dedicated Kafka APIs.</p>
        </div>
      </a>
      <a class="hp-card" href="/kafka/operations-tools/kafka-tools.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_cli.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_cli_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka CLI tools</div>
          <p class="hp-card-text">Manage topics, configure partitions, control services, and run core cluster operations directly from your terminal.</p>
        </div>
      </a>
      <a class="hp-card" href="/kafka/design/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_design.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_design_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka design</div>
          <p class="hp-card-text">Unify and handle enterprise-scale real-time data feeds using a distributed event streaming architecture.</p>
        </div>
      </a>
      <a class="hp-card" href="/platform/current/installation/configuration/index.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_config.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_config_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka configuration reference</div>
          <p class="hp-card-text">Configure and fine-tune every Apache Kafka broker, producer, and consumer parameter.</p>
        </div>
      </a>
      <a class="hp-card" href="/platform/current/kafka/monitoring.html">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_monitoring.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_monitoring_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Monitoring Kafka with JMX</div>
          <p class="hp-card-text">Track broker and client performance metrics using Java Management Extensions (JMX).</p>
        </div>
      </a>
    </div>
  </div>
</div>

<!-- ── LEARNING RESOURCES ────────────────────────────────────────────── -->
<div class="hp-section">
  <div class="hp-inner">
    <h2 class="hp-section-title">Learning resources</h2>
    <div class="hp-card-grid">
      <a class="hp-card" target="_blank" href="https://developer.confluent.io/learn-kafka/apache-kafka/events/">
        <div class="hp-card-icon">
          <img src="/_static/images/icons/icon-kafka-blue.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/icons/alt/icon-kafka-blue.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Apache Kafka 101</div>
          <p class="hp-card-text">Learn the fundamentals of Apache Kafka with this video course.</p>
        </div>
      </a>
      <a class="hp-card" target="_blank" href="https://developer.confluent.io/learn-kafka/kafka-connect/intro/">
        <div class="hp-card-icon">
          <img src="/_static/images/icons/icon-connector.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/icons/alt/icon-connector.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Introduction to Kafka Connect</div>
          <p class="hp-card-text">Learn the fundamentals of Kafka Connect with this video course.</p>
        </div>
      </a>
      <a class="hp-card" target="_blank" href="https://developer.confluent.io/learn-kafka/kafka-streams/get-started/">
        <div class="hp-card-icon">
          <img src="/_static/images/kafka_overview_streams.svg" data-theme-icon="light" alt="" />
          <img src="/_static/images/kafka_overview_streams_dark.svg" data-theme-icon="dark" alt="" />
        </div>
        <div>
          <div class="hp-card-title">Kafka Streams 101</div>
          <p class="hp-card-text">Learn the fundamentals of Kafka Streams with this video course.</p>
        </div>
      </a>
    </div>
  </div>
</div>
