question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknow topic of "_deleted-topic_" in the list

See original GitHub issue

when 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:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
yihanzhencommented, Jun 21, 2018

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.

0reactions
yihanzhencommented, Jun 26, 2018

@weiganglin This is intended behavior as listed in here(under DeleteTopic).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found