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

Fix bad interpreter and add local user for demo #395

Merged
merged 1 commit into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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