(VOL-4959) kafka retry parameters for voltha-go,openonu-adapter,openolt-adapter

Change-Id: I96455e14d007681f4db6e8657be60c06fd234460
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/voltha-adapter-openolt/Chart.yaml b/voltha-adapter-openolt/Chart.yaml
index abff3ae..03a3017 100644
--- a/voltha-adapter-openolt/Chart.yaml
+++ b/voltha-adapter-openolt/Chart.yaml
@@ -17,7 +17,7 @@
 
 ## Chart version for package 'voltha-adapter-openolt'
 ##   Increment when Chart.yaml changes
-version: "2.15.0"
+version: "2.15.1"
 description: "A Helm chart for Voltha OpenOLT Adapter"
 keywords:
   - "onf"
@@ -35,6 +35,6 @@
     url: "https://www.opennetworking.org"
 
 # appVersion refers to release version of voltha-openolt-adapter
-appVersion: "4.5.16"
+appVersion: "4.5.19"
 
 # [EOF]
diff --git a/voltha-adapter-openolt/templates/openolt-deploy.yaml b/voltha-adapter-openolt/templates/openolt-deploy.yaml
index e645316..71719b1 100644
--- a/voltha-adapter-openolt/templates/openolt-deploy.yaml
+++ b/voltha-adapter-openolt/templates/openolt-deploy.yaml
@@ -140,6 +140,8 @@
             - "--max_grpc_client_retry={{ tpl .Values.adapter_open_olt.rpc_retry . }}"
             - "--per_rpc_retry_timeout={{ tpl .Values.adapter_open_olt.per_rpc_retry_timeout . }}"
             - "--force_onu_disc_processing={{ tpl .Values.adapter_open_olt.force_onu_disc_processing . }}"
+            - "--producer_retry_max={{ tpl .Values.adapter_open_olt.producer_retry_max . }}"
+            - "--metadata_retry_max={{ tpl .Values.adapter_open_olt.metadata_retry_max . }}"
           {{- if .Values.securityContext.enabled }}
           securityContext:
             allowPrivilegeEscalation: false
diff --git a/voltha-adapter-openolt/values.yaml b/voltha-adapter-openolt/values.yaml
index 2d0ad80..d0cf273 100644
--- a/voltha-adapter-openolt/values.yaml
+++ b/voltha-adapter-openolt/values.yaml
@@ -34,6 +34,8 @@
     check_onu_exist_on_discovery: false
     per_rpc_retry_timeout : "5s"
     rpc_retry: "4"
+    producer_retry_max: "10"
+    metadata_retry_max: "15"
     force_onu_disc_processing: false
   # enable OMCC encryption
   omcc_encryption: false
@@ -108,6 +110,8 @@
   rpc_retry: '{{ .Values.global.adapter_open_olt.rpc_retry }}'
   per_rpc_retry_timeout : '{{ .Values.global.adapter_open_olt.per_rpc_retry_timeout }}'
   force_onu_disc_processing: '{{ .Values.global.adapter_open_olt.force_onu_disc_processing }}'
+  producer_retry_max : '{{ .Values.global.adapter_open_olt.producer_retry_max }}'
+  metadata_retry_max : '{{ .Values.global.adapter_open_olt.metadata_retry_max }}'
   endpoints:
     # core_endpoint: '{{ .Values.global.adapter_open_olt.core_endpoint }}'
     # adapter_endpoint: '{{ template "fullname" . }}-api:55560'