Skip to content

Commit

Permalink
Fix go patterns-use-cases instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Feb 20, 2025
1 parent 0dc7caa commit 1f1ed8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go/patterns-use-cases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ The Package Tracker Virtual Object tracks the package details and its location h
8. Query the package location via the RPC handler:
```shell
curl localhost:8080/PackageTracker/package123/getPackageInfo
curl localhost:8080/PackageTracker/package123/GetPackageInfo
```
or via the CLI: `restate kv get PackageTracker package123`
Expand Down
7 changes: 3 additions & 4 deletions go/patterns-use-cases/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
broker:
image: confluentinc/cp-kafka:7.5.0
Expand Down Expand Up @@ -27,13 +26,13 @@ services:
image: confluentinc/cp-kafka:7.5.0
depends_on:
- broker
entrypoint: [ '/bin/sh', '-c' ]
entrypoint: ["/bin/sh", "-c"]
command: |
"# blocks until kafka is reachable
kafka-topics --bootstrap-server broker:29092 --list
echo -e 'Creating kafka topics'
kafka-topics --bootstrap-server broker:29092 --create --if-not-exists --topic package-location-updates --replication-factor 1 --partitions 1
kafka-topics --bootstrap-server broker:29092 --create --if-not-exists --topic social-media-posts --replication-factor 1 --partitions 1
echo -e 'Successfully created the following topics:'
kafka-topics --bootstrap-server broker:29092 --list"
kafka-topics --bootstrap-server broker:29092 --list"

0 comments on commit 1f1ed8e

Please sign in to comment.