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.