flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tzulitai <...@git.apache.org>
Subject [GitHub] flink issue #4935: [Flink-7945][Metrics&connector]Fix per partition-lag metr...
Date Wed, 29 Nov 2017 07:46:50 GMT
Github user tzulitai commented on the issue:

    Hi @Aitozi, sorry for the long delay in relaying back to this PR.
    I'm still not convinced that this is a sane solution. For example, what is a "good" setting
for the `KEY_REGISTER_TIMES` property? Isn't 1 enough, since you mentioned that the missing
metric is registered in Kafka after the first poll. Making this configurable seems unnecessary
to me.
    I wonder if we can try the following two approaches:
    1) Manually register the metrics that we know would be missing before the first poll,
    2) Poll once first outside the loop just to make sure that all Kafka metrics are existent,
perform the metrics registration, and then start the regular fetch loop.
    What do you think?


View raw message