Skip to content

Commit

Permalink
chore: add kcat opts variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jeqo committed Jan 10, 2024
1 parent c7cd271 commit 8b9fdee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,12 @@ show_remote_data_azurite:

offset = 0
consume = 10
kcat_opts =
# kcat_opts = "-X fetch.wait.max.ms=100"
.PHONY: consume
consume:
docker run --rm --network=host edenhill/kcat:1.7.1 \
-b $(bootstrap_server_host) -C -t $(topic) -c $(consume) -o $(offset) -e -f '%t-%p-%o\n'
-b $(bootstrap_server_host) -C -t $(topic) -c $(consume) -o $(offset) -e -f '%t-%p-%o\n' $(kcat_opts)

.env:
echo "AWS_ACCESS_KEY_ID=" > .env
Expand Down

0 comments on commit 8b9fdee

Please sign in to comment.