Unknow topic of "_deleted-topic_" in the list
See original GitHub issuewhen listing all the topics, the topic of “deleted-topic” is returned on the list, which is not created by user, and cause issue to parsing the topic
com.google.api.pathtemplate.ValidationException: ProjectTopicName.parse: formattedString not in valid format: Parameter "_deleted-topic_" must be in the form "projects/{project=*}/topics/{topic=*}" at com.google.api.pathtemplate.PathTemplate.validatedMatch(PathTemplate.java:454) at com.google.pubsub.v1.ProjectTopicName.parse(ProjectTopicName.java:78)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
When/how does a topic "marked for deletion" get finally ...
I deleted a topic and it was giving me the same message when I was listing all the topics. I brought down the...
Read more >Manually delete Apache Kafka topics | by Sunny Srinidhi
First, let's see how to configure Kafka to delete a topic with just a command. 'cd' into your Kafka installation directory, then into...
Read more >Getting Error "Unknown topic or partition" after upgrading to ...
When there are no messages for that topic and the consumer starts first, we are getting error "Unknown topic or partition" from consumer....
Read more >How Do I Solve the Problem that Kafka Topics Cannot ... - 华为云
How do I delete a Kafka topic if it fails to be deleted?Possible cause 1: The delete.topic.enable configuration item is not set to...
Read more >How to delete records from a Kafka topic - Coding Harbour
Few things to be aware of when using this approach Make sure the deletion of topics is enabled in your cluster. Set delete....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the response.
subscription.getTopic()
would return_deleted-topic_
if the topic has been deleted according to here. If that’s the case for you, I believe it would be OK to just deleted the subscription.@weiganglin This is intended behavior as listed in here(under
DeleteTopic
).