[ https://issues.apache.org/jira/browse/FLINK-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026446#comment-16026446 ]
ASF GitHub Bot commented on FLINK-6711: --------------------------------------- Github user greghogan commented on a diff in the pull request: https://github.com/apache/flink/pull/3992#discussion_r118729203 --- Diff: flink-connectors/flink-connector-elasticsearch-base/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/ElasticsearchSinkBase.java --- @@ -80,11 +79,21 @@ public static final String CONFIG_KEY_BULK_FLUSH_BACKOFF_RETRIES = "bulk.flush.backoff.retries"; public static final String CONFIG_KEY_BULK_FLUSH_BACKOFF_DELAY = "bulk.flush.backoff.delay"; + /** + * Used to control whether the retry delay should increase exponentially or remain constant. + */ public enum FlushBackoffType { CONSTANT, EXPONENTIAL } + /** + * Provides a backoff policy for bulk requests. Whenever a bulk request is rejected due to resource constraints + * (i.e. the client's internal thread pool is full), the backoff policy decides how long the bulk processor will + * wait before the operation is retried internally. + * + * <p>This ia a proxy for version specific backoff policies. --- End diff -- "ia" => "is" > Activate strict checkstyle for flink-connectors > ----------------------------------------------- > > Key: FLINK-6711 > URL: https://issues.apache.org/jira/browse/FLINK-6711 > Project: Flink > Issue Type: Sub-task > Components: Batch Connectors and Input/Output Formats, Streaming > Connectors > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > Fix For: 1.4.0 > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)