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

SASL Authentication #167

Open
Akash-Mair opened this issue Apr 19, 2023 · 0 comments
Open

SASL Authentication #167

Akash-Mair opened this issue Apr 19, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Akash-Mair
Copy link

Akash-Mair commented Apr 19, 2023

Hey!

New to Kafka and Jikkou - wondering how I can pass username and password credentials through.
Using the latest docker image and trying in a docker compose.

My initial thought was to pass the file in via --command-config but keep hitting the timeout. My current config.conf looks like:

bootstrap.servers="<SERVER>"
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512
sasl.jaas.config="org.apache.kafka.common.security.scram.ScramLoginModule required username='<USERNAME>' password='<PASSWORD>';"

docker compose:

version: '3.7'
services:
  jikkou:
    image: streamthoughts/jikkou:latest
    env_file:
      - .env
    volumes:
      - ./config.conf:$HOME/.jikkou/config.conf
    command: --command-config=$HOME/.jikkou/config.conf brokers describe
    environment:
      - JIKKOU_DEFAULT_KAFKA_BOOTSTRAP_SERVERS:${ADDR}

Thank you!

@Akash-Mair Akash-Mair added the question Further information is requested label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant