Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Consumer] Should close the consumer when TopicNotFound #1135

Open
gunli opened this issue Nov 21, 2023 · 1 comment
Open

[Bug][Consumer] Should close the consumer when TopicNotFound #1135

gunli opened this issue Nov 21, 2023 · 1 comment

Comments

@gunli
Copy link
Contributor

gunli commented Nov 21, 2023

Expected behavior

We should close the consumer when TopicNotFound. #1134

According to the JAVA client, when TopicNotFound, the consumer is set to state Failed and close.

see:
https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L915-L917

Actual behavior

Currently, we just stop reconnecting, see:
https://github.com/apache/pulsar-client-go/blob/master/pulsar/consumer_partition.go#L1662-L1666

Steps to reproduce

How can we reproduce the issue

System configuration

Pulsar version: x.y

@gunli
Copy link
Contributor Author

gunli commented Nov 21, 2023

@RobertIndie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant