Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloud/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The content of each message payload is a combination of `my-message-` and a digi
mvn clean package

# Run the producer
mvn exec:java -Dexec.mainClass="io.streamnative.examples.oauth2.SampleConsumer" \
mvn exec:java -Dexec.mainClass="io.streamnative.examples.oauth2.SampleProducer" \
-Dexec.args="--serviceUrl pulsar+ssl://streamnative.cloud:6651 --audience urn:sn:pulsar:pulsar-instance-ns:pulsar-instance-name --issuerUrl https://streamnative.cloud --privateKey file:///path/to/private/key/file.txt"
```

Expand All @@ -70,4 +70,4 @@ The content of each message payload is a combination of `my-message-` and a digi
Publish my-message-7 and message ID 1121:7:-1:0
Publish my-message-8 and message ID 1121:8:-1:0
Publish my-message-9 and message ID 1121:9:-1:0
```
```