AXA delaying to process transactions
search cancel

AXA delaying to process transactions

book

Article ID: 403025

calendar_today

Updated On:

Products

CA App Experience Analytics

Issue/Introduction

AXA is taking around 30 minutes to process and show the transaction.

 

EventStamp when the transaction occurs and the timestamp when AXA showed.

Why is this happening?

Environment

DX O2 On-premise  24.2 HF7

Cause

Check the Kakfa lag by using:
a. cd kafka/bin
 
b. unset JMX_PORT;
 
c. sh /opt/ca/kafka/bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group  axa.transformer

If you see that the Kafka is queuing the transactions.This reason AXA is not showing live transactions.

Resolution

Scale up the Transformer, Kafka and Index pods to 5 replicas instead 1, restart it.

Also, make sure that Kafka topic partitions are increased to the same number of replicas that you have created. We should have 5 partitions if we replicate to 5 pods. So increase the Kafka topic partitions of the maaBAAggregator.
 
Basically, Check the axa-kafka pod is present and exec into axa-kafka pod, if not present, exec into jarvis-kafka.
 
kubectl get pods | grep -i kafka

Run this command inside Kafka pod to increase partitions.

sh /opt/ca/kafka/bin/kafka-topics.sh --bootstrap-server localhost:9092 --topic maaBAAggregator --alter --partitions 5