Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reporting-events-processor-svc compression support #95

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mojaloop/finance-portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.2.3
version: 4.2.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "4.2.3"
appVersion: "4.2.4"
dependencies:
- name: common
repository: "file://../common"
Expand Down Expand Up @@ -63,7 +63,7 @@ dependencies:
tags:
- mojaloop
- reporting-events-processor-svc
version: 2.0.0
version: 3.0.0
- name: reporting-hub-bop-role-ui
condition: reporting-hub-bop-role-ui.enabled
repository: "file://../reporting-hub-bop-role-ui"
Expand Down
4 changes: 2 additions & 2 deletions mojaloop/reporting-events-processor-svc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
description: Reporting Events Processor
name: reporting-events-processor-svc
version: 2.0.0
appVersion: "2.0.0"
version: 3.0.0
appVersion: "3.0.0"
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,8 @@ spec:
{{- end }}
volumeMounts:
- name: {{ template "common.names.fullname" . }}-config-volume
mountPath: /opt/reporting-events-processor-svc/config
mountPath: /opt/app/config
env:
- name: KAFKA_BROKER_LIST
value: '{{ .Values.kafka.host }}:{{ .Values.kafka.port }}'
- name: KAFKA_TOPIC_EVENT
value: {{ .Values.kafka.topicEvent }}
- name: KAFKA_CONSUMER_GROUP
value: {{ .Values.kafka.consumerGroup }}
- name: KAFKA_CLIENT_ID
value: {{ .Values.kafka.clientId }}
# Event Store
- name: EVENT_STORE_DB_HOST
value: '{{ include "common.backends.reportingEventsDB.host" . }}'
Expand Down
37 changes: 31 additions & 6 deletions mojaloop/reporting-events-processor-svc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ reportingEventsDB:
kafka:
host: kafka-headless
port: 9092
topicEvent: topic-event
topicEvent: topic-event-audit
consumerGroup: reporting_events_processor_consumer_group
clientId: reporting_events_processor_consumer

Expand Down Expand Up @@ -100,7 +100,7 @@ containerSecurityContext:
image:
registry: docker.io
repository: mojaloop/reporting-events-processor-svc
tag: v2.0.0
tag: v3.0.0
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -180,10 +180,35 @@ configFiles:
"EVENTS_COLLECTION": "reporting"
},
"KAFKA": {
"BROKER_LIST": ["{{ .Values.kafka.host }}:{{ .Values.kafka.port }}"],
"CONSUMER_GROUP": "{{ .Values.kafka.consumerGroup }}",
"CLIENT_ID": "{{ .Values.kafka.clientId }}",
"TOPIC_EVENT": "{{ .Values.kafka.topicEvent }}"
"TOPIC_EVENT": "{{ .Values.kafka.topicEvent }}",
"CONSUMER": {
"EVENT": {
"config": {
"options": {
"mode": 2,
"batchSize": 50,
"pollFrequency": 10,
"recursiveTimeout": 100,
"messageCharset": "utf8",
"messageAsJSON": true,
"sync": true,
"consumeTimeout": 10
},
"rdkafkaConf": {
"clientId": "{{ .Values.kafka.clientId }}",
"groupId": "{{ .Values.kafka.consumerGroup }}",
"metadataBrokerList": "{{ .Values.kafka.host }}:{{ .Values.kafka.port }}",
"socketKeepaliveEnable": true,
"allowAutoCreateTopics": true,
"partitionAssignmentStrategy": "",
"enableAutoCommit": false
},
"topicConf": {
"autoOffsetReset": "earliest"
}
}
}
}
}
}

Expand Down