andrewgrantcflt opened a new pull request, #23245:
URL: https://github.com/apache/kafka/pull/23245

   Delete this text and replace it with a detailed description of your change. 
The 
   PR title and body will become the squashed commit message.
   
   If you would like to tag individuals, add some commentary, upload images, or
   include other supplemental information that should not be part of the 
eventual
   commit message, please use a separate comment.
   
   If applicable, please include a summary of the testing strategy (including 
   rationale) for the proposed change. Unit and/or integration tests are 
expected
   for any behavior change and system tests should be considered for larger
   changes.
   
   ### Description
   In `ReplicationControlManager` there is a max of 10,000 partitions allowed 
in a single create topics request. See 
[here](https://github.com/apache/kafka/blob/trunk/metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java#L152).
 In an app I am seeing this limit being hit. I am trying to reproduce the error 
in an integration test, but by having to create so many partitions the test is 
becoming slow and flaky. I have to create up to 10,000 because the limit is 
currently hard-coded.
   
   So here I am simply making the limit a config. By having it as a config, we 
can configure the limit to be lower and reproduce the issue without having to 
create so many partitions. 


-- 
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