mjsax opened a new pull request #10529:
URL: https://github.com/apache/kafka/pull/10529


   The NPE arrises, if we cannot setup topics quickly enough, and run into a 
timeout -- for this case, we try to call `admit.delete` (note that `admin` is 
mocked) that returns `null`.
   
   However, we should never actually "abort" the internal topic creation. -- 
Using `MockTime` instead of `SystemTime` should avoid this issue, as time won't 
advance at all. Or would there be any concern with regard to running forever? 
An alternative approach could be, to increase `max.poll.interval.ms` that 
defines the timeout.
   
   Call for review @bbejeck @ableegoldman 


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

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


Reply via email to