ableegoldman opened a new pull request #9648:
URL: https://github.com/apache/kafka/pull/9648


   The problem is basically just that we compare two incompatible sets in 
ProcessorTopology#updateSourceTopics: the local `sourceNodesByName` map only 
contains nodes that correspond to a particular subtopology whereas the 
passed-in `nodeToSourceTopics` ultimately comes from the 
InternalTopologyBuilder's map, which contains nodes for the entire topology. So 
we would end up hitting the IllegalStateException thrown in 
#updateSourceTopics` any time we tried to update an application with more than 
one subtopology.
   
   The fix is simple, we just need to ignore any source nodes that aren't part 
of the ProcessorTopology's subtopology.


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