We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey team.
I'm not sure if the documentation is outdated but if I use how it is:
... sasl: %{ mechanism: :plain, login: System.get_env("KAFFE_PRODUCER_USER"), password: System.get_env("KAFFE_PRODUCER_PASSWORD") } ...
It doesn't work. But, when use user instead of login it does:
user
login
sasl: %{ mechanism: :plain, user: System.get_env("KAFFE_PRODUCER_USER"), password: System.get_env("KAFFE_PRODUCER_PASSWORD") }
The text was updated successfully, but these errors were encountered:
It looks like it is related with the docker compose file I used. Not sure why tho. Here's the docker-compose file I used:
version: "3" services: zookeeper: image: "confluentinc/cp-zookeeper:latest" container_name: zookeeper ports: - "2181:2181" environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 kafka: image: confluentinc/cp-kafka:latest depends_on: - zookeeper ports: - 9092:9092 environment: KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 KAFKA_SASL_MECHANISM_INTER_BROKER_PROTOCOL: PLAIN KAFKA_SASL_ENABLED_MECHANISMS: PLAIN KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXTSASL:SASL_PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT KAFKA_SASL_JAAS_CONFIG: | org.apache.kafka.common.security.plain.PlainLoginModule required \ username="admin" \ password="admin-secret";
Sorry, something went wrong.
No branches or pull requests
Hey team.
I'm not sure if the documentation is outdated but if I use how it is:
It doesn't work. But, when use
user
instead oflogin
it does:The text was updated successfully, but these errors were encountered: