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

    https://github.com/apache/flink/pull/4473#discussion_r132636335
  
    --- Diff: 
flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/config/ProducerConfigConstants.java
 ---
    @@ -22,12 +22,14 @@
     /**
      * Optional producer specific configuration keys for {@link 
FlinkKinesisProducer}.
      */
    +@Deprecated
     public class ProducerConfigConstants extends AWSConfigConstants {
     
    -   /** Maximum number of items to pack into an PutRecords request. **/
    -   public static final String COLLECTION_MAX_COUNT = 
"aws.producer.collectionMaxCount";
    -
    -   /** Maximum number of items to pack into an aggregated record. **/
    -   public static final String AGGREGATION_MAX_COUNT = 
"aws.producer.aggregationMaxCount";
    +   /** Deprecated key. **/
    +   @Deprecated
    +   public static final String DEPRECATED_COLLECTION_MAX_COUNT = 
"aws.producer.collectionMaxCount";
    --- End diff --
    
    This cannot be renamed, as it completely breaks user code that uses 
`ProducerConfigConstants. COLLECTION_MAX_COUNT`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to