Skip to content

Commit

Permalink
Correct docs on Confluent Cloud deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop authored and Bdegraaf1234 committed Mar 20, 2024
1 parent 5b06d1e commit 35e1b15
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 35e1b15

Please sign in to comment.