I have a Flink application deployed on AWS Kinesis Data Analytics. My current setting is:
Parallelism=128
Parallelism per KPU=4
The issue I have is, there is a big difference between the counts shown on the Flink web UI vs the Count shown in Cloudwatch even for Metrics that come out of the box.
Example:
Counts from Flink UI:
Records Sent: Close to 1 Billion

Count from Cloudwatch:
NumRecordsIn:
Both of these are close to 10.8Million.
The metrics for KDA are configured at Task level.
I am wondering why I am seeing this huge discrepancy. Is the parallelism having some effect on the counts?
FWIW, I added a custom metric which tracks the numRecordsIn. That also seems to be similar to the out of the box NumRecordsIn metric.

