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 Jan 24, 2024. It is now read-only.
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.
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 302, produce
100message using the created topic3, consume all produced messages.
4, delete the used topic
lookup2with pulsar command./bin/pulsar-admin topics delete-partitioned-topic t-kop/ns-kop/lookup25, See error:
Failed to perform http delete request: javax.ws.rs.ClientErrorException: HTTP 412 Precondition Failed Topic has active producers/subscriptionsExpected behavior
the topic can remove after the producer and consumer finished.
Screenshots
