PatrickRen commented on code in PR #21065:
URL: https://github.com/apache/flink/pull/21065#discussion_r998084483


##########
flink-connectors/flink-connector-aws-kinesis-firehose/src/main/java/org/apache/flink/connector/firehose/sink/KinesisFirehoseSinkWriter.java:
##########
@@ -96,11 +96,7 @@ private static FirehoseAsyncClient createFirehoseClient(
                     RESOURCE_NOT_FOUND_EXCEPTION_CLASSIFIER,
                     getSdkClientMisconfiguredExceptionClassifier());
 
-    // deprecated, use numRecordsSendErrorsCounter instead.
-    @Deprecated private final Counter numRecordsOutErrorsCounter;
-
-    /* A counter for the total number of records that have encountered an 
error during put */
-    private final Counter numRecordsSendErrorsCounter;

Review Comment:
   I've also modified `InternalSinkWriterMetricGroup` to make these two metrics 
share the same counter:
   
   
https://github.com/apache/flink/pull/21065/files#diff-6ecdbb02f8667509442f88d7d251838f6388b0919df9390867f987bcc6423678R46-R48



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to