Skip to content

Commit

Permalink
use minioadmin as default secret/key
Browse files Browse the repository at this point in the history
  • Loading branch information
shortishly committed Oct 21, 2024
1 parent d103283 commit 03ad64a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ KAFKA_ADVERTISED_LISTENER_URL=tcp://${ADVERTISED_LISTENER}/

# create an access key for minio at:
# http://localhost:9001/access-keys
AWS_ACCESS_KEY_ID="<access key>"
AWS_SECRET_ACCESS_KEY="<secret key>"
AWS_ACCESS_KEY_ID="minioadmin"
AWS_SECRET_ACCESS_KEY="minioadmin"

# use this endpoint when tansu and minio are both running in docker compose:
# AWS_ENDPOINT="http://minio:9000"
Expand All @@ -37,6 +37,7 @@ AWS_ALLOW_HTTP="true"

# minio storage engine
# create a bucket "tansu" at: http://localhost:9001/buckets
# or: mc mb local/tansu
STORAGE_ENGINE="minio=s3://tansu/"

# PostgreSQL storage engine
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ tansu-1:
--kafka-advertised-listener-url tcp:://127.0.0.1:9092/ \
--kafka-node-id ${NODE_ID} \
--storage-engine ${STORAGE_ENGINE} \
--work-dir work-dir/tansu-1 | tee tansu.log
--work-dir work-dir/tansu-1 2>&1 | tee tansu.log

kafka-proxy:
docker run -d -p 19092:9092 apache/kafka:3.8.0

proxy:
./target/debug/tansu-proxy | tee proxy.log
./target/debug/tansu-proxy 2>&1 | tee proxy.log


all: test miri

0 comments on commit 03ad64a

Please sign in to comment.