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 config sasl.password with special characters treated improperly #387

Open
alexandriainfantino opened this issue Jan 11, 2024 · 2 comments

Comments

@alexandriainfantino
Copy link
Contributor

alexandriainfantino commented Jan 11, 2024

To replicate:

  • create a kafka instance with a secret containing special chars like below example
      
      config_hash = {
         ........
        "sasl.username": credentials.user,
        "sasl.password": "somePasswordWithSpecialChars@_:>[$()#="
      }
  • attempt to produce a message using library producer
handler = producer.produce(topic: topic, payload: payload)
handler.wait

What happens:

  • message being produced times out

What's expected:

  • message is produced

Work around:

  • use a password without special chars

Rdkafka version: 0.13

@mensfeld
Copy link
Member

Can you try 0.15.0?

@mensfeld
Copy link
Member

@alexandriainfantino also can you run this your code in a debug mode and provide the logs?

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

No branches or pull requests

2 participants