Skip to content

Update README.md #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
```
```