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 example doesn't work #388

Open
3 of 6 tasks
lkyuchukov opened this issue Oct 29, 2022 · 4 comments
Open
3 of 6 tasks

Kafka example doesn't work #388

lkyuchukov opened this issue Oct 29, 2022 · 4 comments
Labels

Comments

@lkyuchukov
Copy link

Preflight checklist

Describe the bug

The Kafka example doesn't work and does not terminate containers.

Reproducing the bug

  1. Copy the Kafka example from the examples dir
  2. Run it

Relevant log output

2022/10/29 14:44:53 connected to 127.0.0.1:55032
2022/10/29 14:44:53 authentication failed: EOF
2022/10/29 14:44:54 connected to 127.0.0.1:55032
2022/10/29 14:44:54 authentication failed: EOF
2022/10/29 14:44:55 connected to 127.0.0.1:55032
2022/10/29 14:44:55 authenticated: id=109251388718055424, timeout=10000
2022/10/29 14:44:55 re-submitting `0` credentials after reconnect
%6|1667043896.618|FAIL|rdkafka#producer-1| [thrd:localhost:9093/bootstrap]: localhost:9093/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY)
%6|1667043896.803|FAIL|rdkafka#producer-1| [thrd:localhost:9093/bootstrap]: localhost:9093/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 1ms in state APIVERSION_QUERY, 1 identical error(s) suppressed)
%6|1667043933.044|FAIL|rdkafka#producer-1| [thrd:localhost:9093/bootstrap]: localhost:9093/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 2ms in state APIVERSION_QUERY, 6 identical error(s) suppressed)

Relevant configuration

No response

Version

latest

On which operating system are you observing this issue?

macOS

In which environment are you deploying?

Docker

Additional Context

I am running go1.19.2 on M1 mac with macOS Monterey

@lkyuchukov lkyuchukov added the bug label Oct 29, 2022
@antonprokopovich
Copy link

antonprokopovich commented Nov 4, 2022

Faced the same issue today while running kafka tests with dockertest and using the same kafka/zookeeper configuration as in the mentioned example

@jerroldgao
Copy link

Face the same issue

@jarri-abidi
Copy link

it's just faster/less-resource-intensive to use redpanda as a drop-in replacement for kafka in tests.

@2beens
Copy link

2beens commented May 17, 2023

The issue still happens (in both Ubuntu and MacOS), any progress/hints/suggestions here? 🍻
I assume this is not an issue with dockertest per se, but the configuration of zookeeper and/or the broker, and thus can be solved by kafka gurus most likely.

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

No branches or pull requests

5 participants