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

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 PierreZ and sijie January 21, 2020 01:41
@sijie sijie added the type/task Indicates a chore or a small item of work label Jan 21, 2020
@sijie sijie added this to the 0.0.1 milestone Jan 21, 2020
@sijie sijie merged commit 30ae800 into master Jan 21, 2020
@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type/task Indicates a chore or a small item of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants