Open eoc-ross opened 3 years ago
I get the same error message when I am trying to create a topic via the admin connection (tried with Azure and Aiven) which is nonsensical since the nonexistence of the topic was the pretext of creating it. Both accounts do have admin rights
KafkaJs 1.12.0
I have connected a kafkajs (1.15.0) Service to an Aiven-Cluster. When the consumer is subscribed to topics A and empty topic B, and when I delete topic B via the Aiven portal, the kafkajs consumer crashes - and the topic is not deleted per the portal.
Not sure if this is relevant
I get the same thing. I do an adminClient.list()
, then adminClient.deleteTopics()
and some topics are not deleted and I see This server does not host this topic-partition
followed by There is no leader for this topic-partition as we are in the middle of a leadership election
Describe the bug I'm not sure if it's really an issue or a misusage by my side, but it appears that once a producer has sent a message on a topic, deleting the topic causes "This server does not host this topic-partition" error on all topic created after deletion.
To Reproduce Steps to reproduce:
Expected behavior Since I disconnected CONSUMER_1, I would expect no errors from the producer.
Observed behavior It looks like the producer is still aware of the deleted topic. The weird part, is that the error makes the whole server instance unusable and I have to restart it.
Environment:
Additional context Has anyone observed this behavior? Need I also to disconnect the producer after topic deletion? Any help is greatly appreciated.
Regards