Dapr NATS Streaming pubsub component config
Configuration parameters
-
natsURL
- description: NATS server URL
- required: yes
- sample value: nats://demo.nats.io:4222
-
natsStreamingClusterID
natsURL
natsStreamingClusterID
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: azure-disk-pvc | |
spec: | |
storageClassName: "" | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: azure-disk-pv | |
spec: | |
capacity: | |
storage: 2Gi | |
storageClassName: "" | |
volumeMode: Filesystem | |
accessModes: |
spec: | |
containers: | |
- name: kstreams-lower-to-upper | |
image: [REPLACE_ACR_NAME].azurecr.io/kstreams-lower-to-upper:v1 | |
env: | |
- name: KAFKA_BROKER | |
value: [to be filled] |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: config3 | |
data: | |
appconfig.json: | | |
{ | |
"array": [ | |
1, | |
2, |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: kin-stateless-depl | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: kin-stateless-depl | |
template: |
apiVersion: apps/v1 | |
kind: ReplicaSet | |
metadata: | |
name: kin-stateless-rs | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: kin-stateless-rs | |
template: |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kin-stateless-1 | |
spec: | |
containers: | |
- name: nginx | |
image: nginx |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: testapp | |
spec: | |
selector: | |
matchLabels: | |
app: testapp | |
replicas: 1 | |
template: |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: config2 | |
data: | |
FOO_ENV: bar | |
HELLO_ENV: world | |
--- | |
apiVersion: v1 | |
kind: Pod |