Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Issue #61 : Fix unload and close broker error #76

Closed
wants to merge 4 commits into from
Closed

Conversation

jiazhai
Copy link
Contributor

@jiazhai jiazhai commented Jan 21, 2020

Fix issue #61
We did not handle bundle unload very well. So in the situation that a topic is unload, the original kafka connection is still active, and topics still cached in KoP, this will cause error.
In this change, we track the topic loading status by register a mock producer in to PersistentTopic. when topic is unload, it will trigger the connection close.
Add new unit tests, make sure all tests passed.

@jiazhai jiazhai requested review from sijie and PierreZ January 21, 2020 01:29
@jiazhai jiazhai closed this Jan 21, 2020
@jiazhai
Copy link
Contributor Author

jiazhai commented Jan 21, 2020

Seems original PR triggered github action.

@sijie sijie deleted the unload_topic branch January 21, 2020 01:34
@jiazhai jiazhai restored the unload_topic branch January 21, 2020 01:39
@sijie sijie deleted the unload_topic branch January 21, 2020 02:00
@jiazhai jiazhai modified the milestones: 0.0.1, 0.1.0 Feb 17, 2020
michaeljmarshall pushed a commit to michaeljmarshall/kop that referenced this pull request Apr 24, 2023
gaoran10 pushed a commit to gaoran10/kop that referenced this pull request Jul 30, 2023
gaoran10 pushed a commit to gaoran10/kop that referenced this pull request Aug 9, 2023
gaoran10 pushed a commit to gaoran10/kop that referenced this pull request Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant