Skip to content

Core: Apply correct metric configs in GenericAppenderFactory #12366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 11, 2025

Conversation

xxubai
Copy link
Contributor

@xxubai xxubai commented Feb 21, 2025

The DataWriter created using GenericAppenderFactory in the application does not configure metric writing behavior according to the table's properties.

Based on previous modifications, such as FlinkAppenderFactory, this class should also invoke the correct API to configure the relevant properties

@xxubai
Copy link
Contributor Author

xxubai commented Feb 21, 2025

The specific cause of the issue can be referenced in apache/amoro#3273

@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch 2 times, most recently from 52ed81c to c9dfece Compare February 21, 2025 12:54
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch from c9dfece to d0ac6f4 Compare February 21, 2025 16:12
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch from d0ac6f4 to 00f3e02 Compare February 21, 2025 16:21
@pvary
Copy link
Contributor

pvary commented Feb 21, 2025

Please add some tests to ensure that the metrics are honored if the table is set

@xxubai xxubai requested a review from pvary February 21, 2025 17:35
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch from 5eeeabd to 27263c1 Compare February 21, 2025 17:37
@xxubai xxubai requested a review from pvary February 25, 2025 05:37
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch 2 times, most recently from b68da25 to f0b7763 Compare February 25, 2025 05:44
fix checkstyle
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch from b7123bf to 4a3375a Compare February 25, 2025 06:27
@xxubai xxubai force-pushed the fix-generic-appender-metric-configs branch from 661119b to 16a7b3d Compare February 27, 2025 03:06
@xxubai
Copy link
Contributor Author

xxubai commented Feb 27, 2025

Thank you so much for the review, @pvary

@pvary pvary merged commit f61f971 into apache:main Mar 11, 2025
42 checks passed
@pvary
Copy link
Contributor

pvary commented Mar 11, 2025

Merged to main.
Thanks for the PR @XBaith!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants