how to count kafka sink number
Posted by
jszhouchong@163.com on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/how-to-count-kafka-sink-number-tp27829.html
hi
i have a flink sql, reading record from kafka, then use table function do some transformation, then produce to kafka.
i have found that in the flink web record received of the first subTask is always 0 ,and the Records send of the last subTask is 0 as well.
i want to count how many records i consumed from the source kafka and how many records i produce to the target kafka,
how can i get these information from flink directly?
best regards
chong