kipshi opened a new issue, #8539: URL: https://github.com/apache/inlong/issues/8539
### Description When agent is rebuild , local information of agent is lost , the running task is lost too. But if stream source status in manager is normal , the task will not be pulled So if heartbeat of agent contains no group or stream message, we should logically delete all stream sources related to this agent. ### InLong Component InLong Manager ### Are you willing to submit PR? - [X] Yes, I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: dev-unsubscr...@inlong.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org