Skip to content

Conversation

@Nikita-Shupletsov
Copy link
Contributor

@Nikita-Shupletsov Nikita-Shupletsov commented Oct 21, 2025

Implements KIP-1230.

Reviewers: Matthias J. Sax [email protected]

@github-actions github-actions bot added triage PRs from the community streams small Small PRs labels Oct 21, 2025
@mjsax mjsax added ci-approved and removed triage PRs from the community labels Oct 21, 2025
<td><code class="docutils literal"><span class="pre">10000</span></code></td>
</tr>
<tr class="row-even"><td>allow.os.group.write.access</td>
<td>Medium</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we think Medium is right? Maybe Low would be better? -- Did not bring this up on the KIP. Let me follow up there about it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, overlooked when copied the code. fixed

}

private void initializeStateDirectory(final boolean createStateDirectory, final boolean hasNamedTopology,
final boolean allowOsGroupWriteAccess) throws IOException {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: formatting -- we usually either keep all parameter in a single line, or make one line per parameter. The current formatting is kinda hard to read.

@mjsax
Copy link
Member

mjsax commented Oct 21, 2025

We would expect that an existing state directory get updated when the config is changed, ie, either revoke group write or grant it? We should add a test for it.

@mjsax mjsax added the kip Requires or implements a KIP label Oct 24, 2025
Copy link
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think docs need some move updates though. We list all KIPs for each release in the upgrade section: https://github.com/apache/kafka/blob/trunk/docs/streams/upgrade-guide.html#L111 -- Seems we don't have a 4.2 section yet -- can you add one?

For config-streams.html, should we also add an entry to https://github.com/apache/kafka/blob/trunk/docs/streams/developer-guide/config-streams.html#L74, and add a corresponding paragraph after the table this PR already updates?

@mjsax mjsax merged commit bb0b62d into apache:trunk Oct 25, 2025
25 checks passed
joshua2519 pushed a commit to joshua2519/kafka that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved kip Requires or implements a KIP small Small PRs streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants