apache/seatunnel
GitHub で見る[Bug][Core][Metric] sinkwritecount miscalculation: duplicate table names cause repeated counting
Open
#10,248 opened on 2025年12月25日
help wanted
Repository metrics
- Stars
- (6,897 stars)
- PR merge metrics
- (平均マージ 13d 21h) (30d で 143 merged PRs)
説明
Search before asking
- I had searched in the feature and found no similar feature requirement.
Description
当有多个sink并且表名相同(table_name)的时候, 统计数据中sinkwritecount会重复计算, 比如sink一个是kafka一个是es,一个是mysql, 表名相同的情况下,source读到1条数据, 那么sinkwritecount中就会是 table_name:2, database.table_name:1, 如何把每个sink区分开呢?
Usage Scenario
对存储的数据进行统计
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct