diff --git a/cloud/java/README.md b/cloud/java/README.md index aad7b56..dfd8e4b 100644 --- a/cloud/java/README.md +++ b/cloud/java/README.md @@ -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" ``` @@ -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 - ``` \ No newline at end of file + ```