Skip to content

Commit 22924bd

Browse files
fix: try to reduce Redshift CPU utilizzation (#165)
1 parent f1ab800 commit 22924bd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

commons/prod-analytics/configmaps/kafka-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data:
77
KAFKA_BROKERS: "b-1.interopplatformevents.gfkljw.c4.kafka.eu-south-1.amazonaws.com:9098,b-2.interopplatformevents.gfkljw.c4.kafka.eu-south-1.amazonaws.com:9098,b-3.interopplatformevents.gfkljw.c4.kafka.eu-south-1.amazonaws.com:9098"
88
KAFKA_AVERAGE_MESSAGE_SIZE_IN_BYTES: "1000"
99
KAFKA_MAX_WAIT_BATCH_MILLIS: "60000"
10-
KAFKA_MESSAGES_TO_READ_PER_BATCH: "10000"
10+
KAFKA_MESSAGES_TO_READ_PER_BATCH: "1000"
1111
KAFKA_TOPIC_STARTING_OFFSET: "earliest"
1212
KAFKA_ENABLE_AUTOCOMMIT: "false"
1313
APPLICATION_AUDIT_TOPIC: "prod_application.audit"

microservices/application-audit-analytics-writer/prod-analytics/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ configmap:
1212
KAFKA_SESSION_TIMEOUT_MILLIS: 300000
1313
KAFKA_REQUEST_TIMEOUT_MILLIS: 120000
1414
ACCUMULATOR_MAX_MESSAGES: 500000
15-
ACCUMULATOR_FLUSH_TIMEOUT_MS: 30000
15+
ACCUMULATOR_FLUSH_TIMEOUT_MS: 120000
1616
S3_COPY_BUCKET: interop-analytics-etl-application-audit-{{.Values.local.env}}-es1
1717
S3_DELETE_AFTER_COPY: true
1818
REDSHIFT_COPY_IAM_ROLE_ARN: "arn:aws:iam::697818730278:role/interop-analytics-redshift-s3-copy-{{.Values.local.env}}"
1919
GZ_COMPRESSION_LEVEL: 3
2020
DB_INGEST_MODE: "COPY"
2121

2222
deployment:
23-
replicas: 0
23+
replicas: 1
2424
flywayInitContainer:
2525
create: true
2626
version: "11.4.0"

microservices/jwt-audit-analytics-writer/prod-analytics/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ configmap:
2121
REDSHIFT_COPY_IAM_ROLE_ARN: arn:aws:iam::{{.Values.local.awsAccountId}}:role/interop-analytics-redshift-s3-copy-{{.Values.local.env}}
2222

2323
deployment:
24-
replicas: 0
24+
replicas: 1
2525
flywayInitContainer:
2626
create: true
2727
version: "11.4.0"

0 commit comments

Comments
 (0)