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

# Deploy & lifecycle

> What happens after Submit: stream states, the detail page, pausing and stopping, restarts, and edition behaviour.

**Submit** deploys the topology into your Alginte instance and starts it
immediately. On the Community edition the confirmation says so explicitly:

> Stream 'your-app-id' started (ephemeral — Community deployments do not
> survive a restart).

## The Streams page

**Streams** lists every deployed stream with its state. Click one to open its
detail page — the URL is stable and shareable, keyed by the
`application.id` (e.g. `/streamDetails/wordCount`). Below it, **Observed on the
cluster** lists every Kafka Streams application the cluster knows about, deployed
here or not ([Monitoring](https://docs.alginte.com/streams/monitoring.md#streams-you-did-not-deploy-here)).

## The detail page

![The stream detail page's Info tab with state RUNNING and lifecycle actions](https://mintcdn.com/alginte-9b6e883f/XzJ_luxj10zyLCus/images/stream-details.png?fit=max\&auto=format\&n=XzJ_luxj10zyLCus\&q=85\&s=46bb6c4d774c7cfd372d67db35c1fbbc)

A running stream: state, throughput, and health at a glance; Stop and Pause adapt to the state.

Six tabs:

* **Info** — configuration and state, plus the lifecycle actions.
* **State** — what the stream is doing right now: restore progress, changelog
  lag, threads, rebalances and an event timeline
  ([Monitoring](https://docs.alginte.com/streams/monitoring.md#the-state-tab)).
* **Stream Flow** — the topology as you designed it, on a read-only canvas,
  with [live per-node telemetry badges](https://docs.alginte.com/streams/monitoring.md) on every node.
* **Topology - Ascii** / **Topology - Mermaid** — the *built* Kafka Streams
  topology (the `Topology#describe()` view), as text or a diagram: useful to
  see the processor graph, internal topics, and state stores the runtime
  actually created.
* **Metrics** — runtime metrics for the stream.

## Lifecycle actions

On the **Info** tab:

| Action | What it does |
| - | - |
| **Pause** / **Resume** | Suspends processing without tearing the stream down; resume picks up where it paused. |
| **Stop** / **Start** | Stops the Kafka Streams client entirely; start builds and runs it again. |
| **Delete** | Undeploys the stream. By default the cluster is untouched; an opt-in checkbox also removes the stream's state. |
| **Reset** | On a stopped stream: removes its state and internal topics, sets the input offsets to a position you choose, and starts it. The design and the deployment stay. |

By default, deleting removes the deployment from Alginte only — source and
sink topics, changelog topics, and committed offsets all remain, so
redeploying the same design under the same `application.id` resumes where
processing left off. Checking **"Also remove the stream's state from the
cluster"** additionally deletes the stream's changelog and repartition
topics, its consumer group, its local state directory, and any schema-registry
subjects auto-registered under those topics' names — a later redeploy then
starts from scratch. Source and sink topics are never touched either way.

> [!NOTE]
>
> If you deploy an `application.id` whose state is still on the cluster from
> an earlier deployment, Alginte asks before proceeding: **Continue on this
> state** (you're declaring the design identical to the one that built it) or
> **Start fresh** (remove the listed state, then deploy clean).

## When a stream shows ERROR

Two failure paths that used to be silent (before 0.7.0) are explicit:

* **A source topic that doesn't exist blocks Submit** with a message naming
  the missing topic(s) — create the topic first, or fix the name on the
  source node.
* **A source topic deleted after deploy shows the stream as `ERROR`.** Kafka
  Streams cannot recover from a missing source topic (its processing threads
  shut down permanently), and older versions displayed such a stream as
  `REBALANCING` indefinitely. The state now reflects reality; the fix is to
  recreate the topic (or correct the design) and **Stop**/**Start** the
  stream.

## Restarts and the edition behaviour

Where deployments live differs by [edition](https://docs.alginte.com/editions/licensing.md):

* **Community** — deployments are **ephemeral**: a restarted Alginte instance
  comes up with no deployed streams. Your recovery path is the design JSON —
  **Download** it while building, then **Upload** and **Submit** again after a
  restart. Processing continues from the cluster-side committed offsets and
  state; nothing is lost but the redeploy click.
* **Professional** *(not yet available —
  [join the release list](https://www.alginte.com/#notify))* — deployments are
  durable: persisted next to your cluster and automatically restored, in their
  last state, when the instance starts.

## Scaling out

Deploying the same design (same `application.id`) on several self-contained
Alginte instances scales it the standard Kafka Streams way — the instances
join one consumer group and split the partitions. Each instance manages its
own deployment; see
[Running multiple instances](https://docs.alginte.com/installation/jar.md#running-multiple-instances).

## From the blog

* [KafkaStreams.state() says REBALANCING. Every thread is
  dead.](https://www.alginte.com/blog/kafka-streams-rebalancing-forever/): why a client whose
  processing threads have all died keeps reporting REBALANCING, and how to tell that apart from
  a rebalance that will finish.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.