Skip to content

Kafka example doesn't work #388

@lkyuchukov

Description

@lkyuchukov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions