Skip to content

Revert to use Set for metricsEnabledDimension - #1715

Merged
lucienlu-aws merged 1 commit into
awslabs:masterfrom
lucienlu-aws:metrics-enabled-dimension-set
Mar 10, 2026
Merged

lucienlu-aws merged 1 commit into
awslabs:masterfrom
lucienlu-aws:metrics-enabled-dimension-set

Conversation

@lucienlu-aws

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
#1258 changed the type of the MetricsConfig metricsEnabledDimension to be a Hashset from a Set to address #692. However, in KCL v3, a better fix was put in which allows the multilang config parser to check parent types https://github.com/awslabs/amazon-kinesis-client/blob/v3.0.0/amazon-kinesis-client-multilang/src/main/java/software/amazon/kinesis/multilang/config/ConfigurationSettableUtils.java#L96-L109.

This commit makes the type a Set again to allow for simpler setting of this config. This should not break any existing functionality for users who set already set this with a HashSet as Set is a parent

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lucienlu-aws
lucienlu-aws merged commit 02fb0af into awslabs:master Mar 10, 2026
6 checks passed
@lucienlu-aws
lucienlu-aws deleted the metrics-enabled-dimension-set branch March 10, 2026 21:26

This branch was previously deployed

1 inactive deployment
manual-approval β€” 79b8b9e9 Deployed Mar 9, 2026 by lucienlu-aws via wait-for-approval #91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants