Github user rmetzger commented on a diff in the pull request:
https://github.com/apache/flink/pull/3549#discussion_r106221305
--- Diff:
flink-streaming-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducerBase.java
---
@@ -374,4 +380,11 @@ public static Properties
getPropertiesFromBrokerList(String brokerList) {
props.setProperty(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG,
brokerList);
return props;
}
+
+ // this is exposed for testing purposes
+ protected long numPendingRecords() {
--- End diff --
There is the `@VisibleForTesting` annotation for that :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---