enable retry in component manifest
Signed-off-by: Sarthak Sharma <sartsharma@microsoft.com>
This commit is contained in:
parent
83553cedd7
commit
89d0f1e3e0
|
|
@ -1,24 +1,26 @@
|
|||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: messagebus
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topics # Input binding topic
|
||||
value: neworder
|
||||
- name: publishTopic # Outpub binding topic
|
||||
value: neworder
|
||||
- name: brokers
|
||||
value: localhost:19092,localhost:29092,localhost:39092
|
||||
- name: consumerGroup
|
||||
value: kafkaCertification1
|
||||
- name: authType
|
||||
value: "none"
|
||||
- name: initialOffset
|
||||
value: oldest
|
||||
- name: backOffDuration
|
||||
value: 50ms
|
||||
- name: backOffDuration
|
||||
value: 50ms
|
||||
apiVersion: dapr.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: messagebus
|
||||
spec:
|
||||
type: bindings.kafka
|
||||
version: v1
|
||||
metadata:
|
||||
- name: topics # Input binding topic
|
||||
value: neworder
|
||||
- name: publishTopic # Outpub binding topic
|
||||
value: neworder
|
||||
- name: consumeRetryEnabled # enable consumer retry
|
||||
value: true
|
||||
- name: brokers
|
||||
value: localhost:19092,localhost:29092,localhost:39092
|
||||
- name: consumerGroup
|
||||
value: kafkaCertification1
|
||||
- name: authType
|
||||
value: "none"
|
||||
- name: initialOffset
|
||||
value: oldest
|
||||
- name: backOffDuration
|
||||
value: 50ms
|
||||
- name: backOffDuration
|
||||
value: 50ms
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@ spec:
|
|||
value: neworder
|
||||
- name: publishTopic # Outpub binding topic
|
||||
value: neworder
|
||||
- name: consumeRetryEnabled # enable consumer retry
|
||||
value: true
|
||||
- name: brokers
|
||||
value: localhost:19092,localhost:29092,localhost:39092
|
||||
- name: consumerGroup
|
||||
|
|
|
|||
Loading…
Reference in New Issue