squah-confluent commented on code in PR #20907:
URL: https://github.com/apache/kafka/pull/20907#discussion_r2594692440


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/streams/StreamsGroup.java:
##########
@@ -1030,9 +1030,8 @@ private void addTaskProcessIdFromActiveTasksWithEpochs(
                 for (Integer partitionId : 
assignedTaskPartitionsWithEpochs.keySet()) {
                     String prevValue = partitionsOrNull.put(partitionId, 
processId);
                     if (prevValue != null) {
-                        throw new IllegalStateException(
-                            String.format("Cannot set the process ID of %s-%s 
to %s because the partition is " +
-                                "still owned by process ID %s", subtopologyId, 
partitionId, processId, prevValue));
+                        log.debug("[GroupId {}]Setting the process ID of {}-{} 
to {} even though the partition is " +

Review Comment:
   ```suggestion
                           log.debug("[GroupId {}] Setting the process ID of 
{}-{} to {} even though the partition is " +
   ```



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