Github user casidiablo commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5182#discussion_r160763163
  
    --- Diff: 
flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java
 ---
    @@ -542,6 +545,16 @@ public int 
registerNewSubscribedShardState(KinesisStreamShardState newSubscribed
                }
        }
     
    +   /**
    +    * Registers a metric group associated with the shard id of the 
provided {@link KinesisStreamShardState shardState}.
    +    */
    +   private MetricGroup buildMetricGroupForShard(KinesisStreamShardState 
shardState) {
    +           return runtimeContext
    +                   .getMetricGroup()
    +                   .addGroup("Kinesis")
    --- End diff --
    
    I think so. Just following the convention of other components (e.g. [kafka 
consumer](https://github.com/apache/flink/blob/00ad0eb120026817c79a5fed2c71dd6aa10e9ba6/flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/Kafka09Fetcher.java#L101))


---

Reply via email to