When you create stream or table using a TOPIC then the topic gets registered in KSQL
As shown below.
ksql> SHOW TOPICS;
Kafka Topic| Registered| Partitions | Partition Replicas | Consumers | Consumer Groups`
---------------------------------------------------------------------------------------
__confluent.support.metric| false | 1 | 1 | 0 | 0
_confluent-ksql-default__command_topic | true | 1 | 1 | 0 | 0
_schemas | false | 1 | 1 | 0 | 0
connect-configs | false | 1 | 1 | 0 | 0
connect-offsets | false | 25 | 1 | 0 | 0
connect-statuses | false | 5 | 1 | 0 | 0
email-filters | false | 4 | 1 | 0 | 0
Please observe the email-filters
topics is saying Registered
is false because there is no corresponding stream and table.
So when you try to drop it. like this :
ksql> DROP TOPIC "email-filters";
Message
-----------------------------------------
No topic with name true was registered.
-----------------------------------------
ksql>
So the answer is correct by @Hojjat is correct.
This is the explanation.