AndrewJSchofield commented on PR #17908:
URL: https://github.com/apache/kafka/pull/17908#issuecomment-2504764436

   @chia7712 I meant that we could temporarily have both spellings starting in 
AK 4.0. Something like:
   
   ```
   public static final String PARTITIONER_ADAPTIVE_PARTITIONING_ENABLE_CONFIG = 
"partitioner.adaptive.partitioning.enable";
   // The following is a spelling mistake which will be deprecated shortly.
   public static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG = 
"partitioner.adaptive.partitioning.enable";
   ```
   or
   ```
   public static final String PARTITIONER_ADAPTIVE_PARTITIONING_ENABLE_CONFIG = 
"partitioner.adaptive.partitioning.enable";
   // The following is a spelling mistake which will be deprecated shortly.
   public static final String PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG = 
PARTITIONER_ADAPTIVE_PARTITIONING_ENABLE_CONFIG;
   ```
   
   That wouldn't break the user's code at all. And as soon as we have a KIP, we 
can begin the deprecation cycle on the old name.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to