Skip to content

Allow updating Tableflow snapshot retention with CLI - #449

Open
AfrinKhan02 wants to merge 1 commit into
mainfrom
feat/tableflow-snapshot-retention
Open

AfrinKhan02 wants to merge 1 commit into
mainfrom
feat/tableflow-snapshot-retention

Conversation

@AfrinKhan02

Copy link
Copy Markdown
Collaborator

Context

Ns4Kafka adds self-service updates to the retention period for Tableflow snapshots and versions. This PR makes the setting visible in kafkactl and documents how to manage it.· Ns4Kafka API PR

Changes

  • Add a SNAPSHOT RETENTION column to kafkactl get tableflow using the existing duration formatter. YAML output keeps the value in milliseconds.
  • Document how to set spec.snapshotRetentionMs in a TableflowTopic manifest and use the existing diff and apply commands. Omitting the field on reapply preserves the stored retention.
  • Document how namespace administrators can configure an allowed retention range.

Tests

Added coverage for the new retention column and duration formatting.

@AfrinKhan02 AfrinKhan02 self-assigned this Nov 25, 2026
@AfrinKhan02 AfrinKhan02 added the feature This issue or pull request contains a new feature label Nov 25, 2026
@AfrinKhan02
AfrinKhan02 force-pushed the feat/tableflow-snapshot-retention branch from 8a1604b to 5780b3a Compare November 25, 2026 03:58
@sonarqubecloud

Copy link
Copy Markdown

@AfrinKhan02
AfrinKhan02 marked this pull request as ready for review November 25, 2026 04:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature This issue or pull request contains a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant