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

Kafka external stream keeps reporting warning after fails to be created #236

Closed
zliang-min opened this issue Oct 30, 2023 · 0 comments · Fixed by #618
Closed

Kafka external stream keeps reporting warning after fails to be created #236

zliang-min opened this issue Oct 30, 2023 · 0 comments · Fixed by #618
Assignees
Labels
bug Something isn't working

Comments

@zliang-min
Copy link
Collaborator

Describe what's wrong

When I tried to create a kafka external stream which connects to a kafka cluster which does not exist, on the client side, it reports the following error as expected:

Code: 2003. DB::Exception: Received from 127.0.0.1:8463. DB::Exception: foo topic does't exist. (RESOURCE_NOT_FOUND)

However, on the server side, it keeps printing warning logs:

%3|1698688956.289|FAIL|rdkafka#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT)
2023.10.30 11:02:36.289582 [ 89967498 ] {} <Warning> KafkaWALSimpleConsumer: Error occurred, error=Local: Broker transport failure, reason=localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT)

%3|1698688957.294|FAIL|rdkafka#consumer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connect to ipv6#[::1]:9092 failed: Connection refused (after 0ms in state CONNECT)
2023.10.30 11:02:37.294835 [ 89967498 ] {} <Warning> KafkaWALSimpleConsumer: Error occurred, error=Local: Broker transport failure, reason=localhost:9092/bootstrap: Connect to ipv6#[::1]:9092 failed: Connection refused (after 0ms in state CONNECT)

That means we have resource leaked.

How to reproduce

Error message and/or stacktrace

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant