Skip to content

Conversation

@DL1231
Copy link
Collaborator

@DL1231 DL1231 commented Jan 10, 2026

Currently, TopicBasedRemoteLogMetadataManager creates the Admin client
using commonProperties(), which prevents users from setting
admin-specific configurations (e.g., custom timeouts, retry policies).

This commit adds a new configuration prefix
remote.log.metadata.admin.* to allow separate configuration for the
Admin client, similar to the existing producer and consumer prefixes.

Reviewers: TengYao Chi frankvicky@apache.org, Chia-Ping Tsai
chia7712@gmail.com

@github-actions github-actions bot added triage PRs from the community storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature small Small PRs labels Jan 10, 2026
@DL1231 DL1231 changed the title Kafka-19590: Add prefix to TopicBasedRemoteLogMetadataManagerConfig to enable setting admin configs KAFKA-19590: Add prefix to TopicBasedRemoteLogMetadataManagerConfig to enable setting admin configs Jan 10, 2026
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@DL1231 thanks for this patch

@github-actions github-actions bot removed the triage PRs from the community label Jan 12, 2026
Copy link
Contributor

@frankvicky frankvicky left a comment

Choose a reason for hiding this comment

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

LGTM


private Map<String, Object> createAdminProps(Map<String, Object> allAdminConfigs) {
Map<String, Object> props = new HashMap<>(allAdminConfigs);
props.put(ProducerConfig.CLIENT_ID_CONFIG, clientIdPrefix + "_admin");
Copy link
Member

Choose a reason for hiding this comment

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

ProducerConfig -> AdminClientConfig

@chia7712 chia7712 merged commit dbc7787 into apache:trunk Jan 13, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small Small PRs storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants