Infinite loop when InterruptException in @KafkaListener #1847
              
                
                  
                  
                    Answered
                  
                  by
                    garyrussell
                  
              
          
                  
                    
                      coolbeevip
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
         Affects Version(s):2.5.2.RELEASE 🐞 Bug report I'm not sure if this is a bug or my usage is wrong CPU 100% when I throw InterruptEdexception in @KafkaListener I found an infinite loop in the following code position In order to reproduce the problem, I throw an exception, all use default parameters When a message is equal   | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            garyrussell
          
      
      
        Jun 28, 2021 
      
    
    Replies: 1 comment 10 replies
-
| 
         Use Discussions or stack overflow to ask questions, not issues. Exactly what are you trying to achieve by interrupting the consumer thread?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    10 replies
                  
                
            
      Answer selected by
        coolbeevip
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Use Discussions or stack overflow to ask questions, not issues.
Exactly what are you trying to achieve by interrupting the consumer thread?