weijiequ commented on issue #31313:
URL: https://github.com/apache/beam/issues/31313#issuecomment-2591971840

   Looks like very similar issue. We do normal shutdown with savepoint and then 
restore from savepoint. It causes the duplicate message issue. As mentioned in 
the SO post, we had also verified that the expected number of tasks are up and 
running. We additionally took a thread dump of the subtask then we found two 
running Kakfa poll threads. It's not the Kafka offset commit issue, we checked 
the status of the consumers - the committed offset is up to date. All new 
produced messages to the topic will be consumed twice by the task.
   I didn't try to kill the TMs, it's possible that the issue could be gone by 
doing that as it's now restore from checkpoint.


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