From 35e1b15b7daf8a39ef690dc2c868f749d97666ed Mon Sep 17 00:00:00 2001 From: Pim van Nierop Date: Wed, 20 Mar 2024 10:05:45 +0100 Subject: [PATCH] Correct docs on Confluent Cloud deployment --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 61b0e3ac..b232a82a 100644 --- a/README.md +++ b/README.md @@ -156,14 +156,16 @@ docker-compose run --rm tools radar-schemas-tools schema-topic --ensure -f schem sasl.mechanism: PLAIN ``` - 1.2. Run `topic-create` command + 1.2. Run `create` command ``` - docker run --rm -v "$PWD/config.yaml:/etc/radar-schemas-tools/config.yaml" radarbase/radar-schemas-tools radar-schemas-tools topic-create -c /etc/radar-schemas-tools/config.yaml /schema/merged + docker run --rm -v "$PWD/config.yaml:/etc/radar-schemas-tools/config.yaml" radarbase/radar-schemas-tools radar-schemas-tools create -c /etc/radar-schemas-tools/config.yaml /schema/merged ``` 2. Register schemas on Confluent Cloud schema registry ``` - docker run --rm radarbase/kafka-init radar-schemas-tools register SR_ENDPOINT -u SR_API_KEY -p SR_API_SECRET /schema/merged + docker run --rm -v "$PWD/config.yaml:/etc/radar-schemas-tools/config.yaml" radarbase/radar-schemas-tools radar-schemas-tools register -c /etc/radar-schemas-tools/config.yaml -u SR_API_KEY -p SR_API_SECRET SR_ENDPOINT /schema/merged ``` + + Note that the `SR_ENDPOINT` and `/schema/merged` are positional arguments and should be placed at the end of the command.