Changed python commands

Signed-off-by: Amulya Varote <amulyavarote@MININT-8V4CL0S.redmond.corp.microsoft.com>
This commit is contained in:
Amulya Varote 2021-12-03 08:34:09 -08:00 committed by Amulya Varote
parent 3d617efac1
commit 95a01ccf19
1 changed files with 2 additions and 2 deletions

View File

@ -282,9 +282,9 @@ logging.basicConfig(level = logging.INFO)
@app.subscribe(pubsub_name='order_pub_sub', topic='orders')
def mytopic(event: v1.Event) -> None:
data = json.loads(event.Data())
logging.info('Subscriber received: ' + data)
logging.info('Subscriber received: ' + str(data))
app.run(60002)
app.run(6002)
```
Navigate to the directory containing the above code, then run the following command to launch a Dapr sidecar and run the application: