You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 16, 2026. It is now read-only.
[BUG] the topic can not remove after the producer and consumer finished #229
Describe the bug
the topic can not remove after the producer and consumer finished.
To Reproduce
1, create a partitioned topic pulsar-admin persistent create-partitioned-topic t-kop/ns-kop/lookup2 --partitions 30
2, produce 100 message using the created topic
3, consume all produced messages.
4, delete the used topic lookup2 with pulsar command ./bin/pulsar-admin topics delete-partitioned-topic t-kop/ns-kop/lookup2
5, See error: Failed to perform http delete request: javax.ws.rs.ClientErrorException: HTTP 412 Precondition Failed Topic has active producers/subscriptions
Expected behavior
the topic can remove after the producer and consumer finished.
Activity
BewareMyPower commentedon Nov 12, 2020
Yeah, it's an existed issue for a long time because the
OffsetAckerholds consumers for acknowledgement. I think there's a better way to do it.jiazhai commentedon Dec 1, 2020
added comments in the PR
Close offset consumers when channel is inactive (#425)