nikramakrishnan commented on PR #16005:
URL: https://github.com/apache/kafka/pull/16005#issuecomment-2129187298

   > Instead we should throw an exception (or stateChangeLogger.error) like 
mentioned below here, and write a unit test just for this class
   
   Do you mean we mock `onPartitionLeadershipChanges` to throw an exception if 
it is invoked without `configure` being called? We can take that approach as 
well.


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