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-http-port=3500'
|
||||||
- '--dapr-grpc-port=50001'
|
- '--dapr-grpc-port=50001'
|
||||||
- '--placement-host-address=dapr-placement:50005'
|
- '--placement-host-address=dapr-placement:50005'
|
||||||
- '--components-path=/components'
|
- '--resources-path=/components'
|
||||||
volumes:
|
volumes:
|
||||||
- ../../infra/dapr/components:/components
|
- ../../infra/dapr/components:/components
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ services:
|
|||||||
- '--dapr-http-port=3500'
|
- '--dapr-http-port=3500'
|
||||||
- '--dapr-grpc-port=50001'
|
- '--dapr-grpc-port=50001'
|
||||||
- '--placement-host-address=dapr-placement:50005'
|
- '--placement-host-address=dapr-placement:50005'
|
||||||
- '--components-path=/components'
|
- '--resources-path=/components'
|
||||||
volumes:
|
volumes:
|
||||||
- ../../infra/dapr/components:/components
|
- ../../infra/dapr/components:/components
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,8 @@ kind: Component
|
|||||||
metadata:
|
metadata:
|
||||||
name: pubsub
|
name: pubsub
|
||||||
spec:
|
spec:
|
||||||
type: pubsub.natsstreaming
|
type: pubsub.nats
|
||||||
version: v1
|
version: v1
|
||||||
metadata:
|
metadata:
|
||||||
- name: natsURL
|
- name: natsURL
|
||||||
value: nats://nats:4222
|
value: nats://nats:4222
|
||||||
- name: natsStreamingClusterID
|
|
||||||
value: dapr-cluster
|
|
||||||
|
|||||||
Reference in New Issue
Block a user