<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-tableflow-topic-update"></a>

# confluent tableflow topic update

## Description

Update a topic.

```none
confluent tableflow topic update <name> [flags]
```

## Flags

```none
    --cluster string                         Kafka cluster ID.
    --retention-ms string                    Specify the Tableflow table retention time in milliseconds.
    --table-formats string                   Specify the table formats, one of DELTA or ICEBERG.
    --metadata-column-naming-scheme string   Specify the naming scheme for Tableflow's internal metadata columns in the materialized table, one of DEFAULT or PORTABLE.
    --error-handling string                  Specify the error handling strategy, one of SUSPEND, SKIP, or LOG.
    --log-target string                      Specify the target topic for the LOG error handling strategy.
    --context string                         CLI context name.
    --environment string                     Environment ID.
-o, --output string                          Specify the output format as "human", "json", or "yaml". (default "human")
    --record-failure-strategy string         DEPRECATED: Specify the record failure strategy, one of SUSPEND or SKIP.
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

Update the refresh interval or retention time of Tableflow topic “my-tableflow-topic” related to Kafka cluster “lkc-123456”.

```none
confluent tableflow topic update my-tableflow-topic --cluster lkc-123456 --retention-ms 432000000
```

## See Also

* [confluent tableflow topic](index.md#confluent-tableflow-topic) - Manage Tableflow topics.
