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

   Follow-up: https://github.com/apache/kafka/pull/19094
   
   We need to rewrite `AdminClientRebootstrapTest` to cover the current 
scenario.
   Added the admin client with rebootstrap disabled, as the admin client uses 
the default `AdminClientRebootstrap` configuration setting.
   
   Default `AdminClientRebootstrap` config:
   
   > properties.put(CommonClientConfigs.METADATA_RECOVERY_STRATEGY_CONFIG, 
"rebootstrap");
          
properties.put(CommonClientConfigs.METADATA_RECOVERY_REBOOTSTRAP_TRIGGER_MS_CONFIG,
 "3000000");
          
properties.put(CommonClientConfigs.SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG, 
"10000");
          
properties.put(CommonClientConfigs.SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONFIG,
 "30000");
          properties.put(CommonClientConfigs.RECONNECT_BACKOFF_MS_CONFIG, 
"50L");
          properties.put(CommonClientConfigs.RECONNECT_BACKOFF_MAX_MS_CONFIG, 
"1000L");
   
   The test case for the admin client with enabled rebootstrap
   <img width="1547" alt="Screenshot 2025-03-11 at 11 57 00 PM" 
src="https://github.com/user-attachments/assets/f75621f1-9286-477d-85ce-7d7a80881db5";
 />
   
   The test case for the admin client with disabled rebootstrap
   <img width="1555" alt="Screenshot 2025-03-11 at 11 57 38 PM" 
src="https://github.com/user-attachments/assets/a92049ab-8106-48ef-b4c3-1cdb27ef5920";
 />
   
   


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