fix(dapr): use pubsub.nats instead of deprecated natsstreaming, use --resources-path
This commit is contained in:
@@ -47,7 +47,7 @@ services:
|
||||
- '--dapr-http-port=3500'
|
||||
- '--dapr-grpc-port=50001'
|
||||
- '--placement-host-address=dapr-placement:50005'
|
||||
- '--components-path=/components'
|
||||
- '--resources-path=/components'
|
||||
volumes:
|
||||
- ../../infra/dapr/components:/components
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
- '--dapr-http-port=3500'
|
||||
- '--dapr-grpc-port=50001'
|
||||
- '--placement-host-address=dapr-placement:50005'
|
||||
- '--components-path=/components'
|
||||
- '--resources-path=/components'
|
||||
volumes:
|
||||
- ../../infra/dapr/components:/components
|
||||
|
||||
|
||||
@@ -3,10 +3,8 @@ kind: Component
|
||||
metadata:
|
||||
name: pubsub
|
||||
spec:
|
||||
type: pubsub.natsstreaming
|
||||
type: pubsub.nats
|
||||
version: v1
|
||||
metadata:
|
||||
- name: natsURL
|
||||
value: nats://nats:4222
|
||||
- name: natsStreamingClusterID
|
||||
value: dapr-cluster
|
||||
|
||||
Reference in New Issue
Block a user