> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Table Topic Quick Start

> Discover seamless data integration with AutoMQ's Table Topic, enhancing data lakes through cloud-native scalability and Kafka compatibility. Perfect for swift trials.

Table Topic is a core feature of AutoMQ, designed for modern data lake architectures. Its primary purpose is to create direct integration between streaming data and static data lakes through architectural innovation, addressing traditional issues like stream-batch separation, complex ETL processes, and high costs. This document is aimed at new users experiencing AutoMQ for the first time, focusing on how to deploy an AutoMQ cluster with Table Topic support in a local development environment (by deploying MinIO to provide object storage services), enabling users to quickly experience the features of Table Topic.

<Tip>
  This document is intended solely for testing and learning scenarios. For production environments, please use the Table Topic feature and refer to deployment documentation such as [Deploy Multi-Nodes Cluster on Linux▸](/automq/deployment/deploy-multi-nodes-cluster-on-linux).
</Tip>

## Prerequisites

* Linux/Mac/Windows Subsystem for Linux

* Docker

* Docker Compose version > 2.22.0

* At least 8GB of free memory

## Install and Start AutoMQ Cluster

Run the following command to download the Docker Compose configuration file for a single-node deployment and start the AutoMQ cluster using Docker Compose.

```bash theme={null}
curl -O https://raw.githubusercontent.com/AutoMQ/automq/refs/tags/1.5.5/docker/table_topic/docker-compose.yml && docker-compose up -d
```

Once started successfully, we will send Table Topic messages and perform queries using Spark SQL to experience automatic table creation, table querying and updating, schema changes, data partitioning, and CDC capabilities. Users can open [http://localhost:8888](http://localhost:8888) in their browser and interactively execute commands using Jupyter Notebook.

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/1.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=e9cca71194f523431750ca97ee38c298" width="1926" height="434" data-path="automq/table-topic/table-topic-quick-start/1.webp" />

## Create Table

The first three steps in the Notebook involve the creation of a Table Topic, writing a single message, and triggering the creation of an Iceberg table.

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/2.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=c9d4b7ac946534c9fa21d6f40fa0862d" width="2250" height="428" data-path="automq/table-topic/table-topic-quick-start/2.webp" />

## Query Data

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/3.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=dbf13af21f4bf29c59286ac967f8c3fa" width="2248" height="516" data-path="automq/table-topic/table-topic-quick-start/3.webp" />

<Tip>
  **Note:**

  There may be a delay between writing the message and the data being entered into the table. If an error occurs during the query, we recommend retrying after a short wait.
</Tip>

## Update Records

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/4.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=df71713449e7501c5e9dcadd7ce961f0" width="2250" height="352" data-path="automq/table-topic/table-topic-quick-start/4.webp" />

When querying updated results, the data `ops` will change from `I` to `U`.

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/5.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=2c8f028c18671275b36f439085d69af9" width="2250" height="348" data-path="automq/table-topic/table-topic-quick-start/5.webp" />

## Delete Data

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/6.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=7784cedeb1077756b41a2ee70511d8cc" width="2252" height="346" data-path="automq/table-topic/table-topic-quick-start/6.webp" />

After querying the deletion results, records are empty.

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/7.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=561fb20be3619642407c172d27ea4750" width="2250" height="480" data-path="automq/table-topic/table-topic-quick-start/7.webp" />

## Delete Table

<img src="https://mintcdn.com/automq/s9vNxeyMGZ1r1DRV/automq/table-topic/table-topic-quick-start/8.webp?fit=max&auto=format&n=s9vNxeyMGZ1r1DRV&q=85&s=4da82b27805ab79ad4f8bf4bd354f912" width="2250" height="350" data-path="automq/table-topic/table-topic-quick-start/8.webp" />

## Stop and Uninstall the AutoMQ Cluster

Once you have completed the functional tests, run the following commands to stop and uninstall the current AutoMQ cluster.

```bash theme={null}
curl -O https://raw.githubusercontent.com/AutoMQ/automq/refs/tags/1.5.0/docker/table_topic/docker-compose.yml && docker-compose down -v
```

<Tip>
  For detailed parameter configurations, please refer to the [Table Topic Configuration▸](/automq/table-topic/table-topic-configuration) section.
</Tip>
