You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/05/03 16:11:49 UTC

[GitHub] [kafka] akhileshchg commented on pull request #12106: KAFKA-13861: Fix the validateOnly behavior for CreatePartitions requests in KRaft mode

akhileshchg commented on PR #12106:
URL: https://github.com/apache/kafka/pull/12106#issuecomment-1116278345

   > The code looks good but as I said earlier, we are missing tests that assert that `validateOnly` flag is working as expected. The tests added in this PR are simply validating whether the flag was passed or not. Instead, we want to validate that when the flag is set to `false` no change takes place.
   > 
   > But I think adding that test is out of scope for this PR since it may require refactoring and having a consistent boundary for termination of `validateOnly` flag for various APIs.
   > 
   > LGTM.
   
   @divijvaidya I enabled an integration test that tests the validateOnly field for createPartitions request for KRaft mode. 


-- 
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-unsubscribe@kafka.apache.org

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