ashwinpankaj commented on PR #13084:
URL: https://github.com/apache/kafka/pull/13084#issuecomment-1375070970

   > Is this a change in behavior? It appears that the default mode is LISTEN:
   > 
   > 
https://github.com/apache/kafka/blob/95910af3a9125c3c67fe5daebf1e01d7ec6f20c7/tests/kafkatest/services/connect.py#L78
   > 
   > and it is only overwritten if the incoming mode is truey:
   > 
https://github.com/apache/kafka/blob/95910af3a9125c3c67fe5daebf1e01d7ec6f20c7/tests/kafkatest/services/connect.py#L124-L125
   > 
   > It seems like the problem is not that the startup_mode is wrong, but that 
the STARTUP_MODE_LISTEN is not waiting for all resources to be registered.
   
   Thanks for taking a look @gharris1727 !
   The code which you linked is for ConnectServiceBase.
   ConnectRestApiTest uses [ConnectDistributedService, which overrides 
startup_mode to 
STARTUP_MODE_JOIN](https://github.com/apache/kafka/blob/95910af3a9125c3c67fe5daebf1e01d7ec6f20c7/tests/kafkatest/services/connect.py#L376)
 


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