Skip to content

Commit

Permalink
Fix bad interpreter and add local user for demo (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier authored May 4, 2024
1 parent 087b6f3 commit 60fc571
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .docker/config/broker/create-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ cat /etc/kafka/kafka.properties

echo "Create admin user"
kafka-storage format --config /etc/kafka/kafka.properties \
--cluster-id MkU3OEVBNTcwNTJENDM2Qk \
--add-scram 'SCRAM-SHA-512=[name=admin,password=admin]' \
--ignore-formatted
--cluster-id MkU3OEVBNTcwNTJENDM2Qk \
--add-scram 'SCRAM-SHA-512=[name=admin,password=admin]' \
--ignore-formatted
4 changes: 2 additions & 2 deletions .docker/config/kafkactl/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kafkactl:
- context:
api: http://ns4kafka:8080
namespace: myNamespace
user-token: gitlabToken
user-token: admin
name: local
current-namespace: myNamespace
api: http://ns4kafka:8080
user-token: gitlabToken
user-token: admin
5 changes: 5 additions & 0 deletions .docker/config/ns4kafka/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ kafka:
ns4kafka:
security:
admin-group: "ns4kafka"
local-users:
- username: gitlab
password: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
groups:
- "ns4kafka"
managed-clusters:
local:
manage-users: true
Expand Down

0 comments on commit 60fc571

Please sign in to comment.