Event Mapping & Business Flow Correlation
Kafka Event Sources Overview
AAServer:UserEndpoint - User interaction events
AAServer:AdminApi - Admin operations
AAServer:ConsentFlow - Consent management
AAServer:DataFlow - Data processing
AAServer:Notifications - System notifications
SMSProvider:SMSStatusService - SMS delivery tracking
Consent Flow Events Mapping
1. Consent Initiation Stage
🚀 Consent Request Events
aaRebitApiConsentRequestFIU:AA:ConsentRequest → AA:FIU:ConsentRequestResponse
aaCustomApiConsentRequestFIU:AA:ConsentRequestCustom → AA:FIU:ConsentRequestResponseCustom
aaConsentRequestEventAA:LOG:ConsentRequestEventMessage (internal logging)
2. User Authentication Stage
🔐 Authentication & OTP Events
aaUserEndpointConsetApiUSER:AA:WebsocketConsentApiRequest → AA:USER:WebsocketConsentApiResponse
aaUserEndpointWebApiUSER:AA:WebsocketWebApiRequest → AA:USER:WebsocketWebApiResponse
aaUserEndpointOtpAA:SMS:OtpSMSRequest → SMS:AA:OtpSMSResponse
aaSmsStatusDlrPushApiSMSProvider delivery status tracking
3. Account Discovery & Linking Stage
🔗 Account Discovery & Linking
aaUserEndpointDiscoveryAA:FIP:UserDiscoveryRequest → FIP:AA:UserDiscoveryResponse
aaUserEndpointLinkingAA:FIP:UserLinkingRequest → FIP:AA:UserLinkingResponse
aaUserEndpointConfirmLinkingAA:FIP:UserConfirmLinkingRequest → FIP:AA:UserConfirmLinkingResponse
aaRebitApiFIPLinkNotificationFIP:AA:AccountLinkNotificationRequest → AA:FIP:AccountLinkNotificationResponse
4. Consent Approval Stage
✅ Consent Approval Events
aaUserEndpointPostFIPConsentAA:FIP:ConsentPostRequest → FIP:AA:ConsentPostResponse
aaUserEndpointFipConsentPostEventAA:LOG:ConsentPostEventRequest (internal logging)
aaUserEndpointFipConsentNotificationAA:FIP:ConsentNotificationRequest → FIP:AA:ConsentNotificationResponse
aaRebitApiFIPConsentNotificationFIP:AA:ConsentNotificationRequest → AA:FIP:ConsentNotificationResponse
5. Consent Status Tracking
📊 Status Tracking Events
aaRebitApiConsentStatusFIU:AA:ConsentHandleStatusRequest → AA:FIU:ConsentHandleStatusResponse
aaRebitApiGetConsentFIU:AA:ConsentFetchRequest → AA:FIU:ConsentFetchResponse
aaRebitApiFIPFIUConsentStatusNotificationAA:FIU:ConsentStatusNotificationRequest → FIU:AA:ConsentStatusNotificationResponse
Data Flow Events Mapping
FI Request Stage
📋 Financial Information Request
aaRebitApiFIRequestFIU:AA:FIRequest → AA:FIU:FIRequestResponse | FIREQUEST_PROCESSOR
aaRebitApiFIPFIRequestAA:FIP:FIRequest → FIP:AA:FIRequestResponse | FIREQUEST_PROCESSOR
aaFIRequestEventAA:LOG:FIRequestEvent (internal logging)
aaUserEndpointFIRequestAA:AA:FIRequestForUser → AA:AA:FIResponseForUser | FIREQUEST_PROCESSOR
Data Fetch Stage
📥 Data Fetch Processing
aaRebitApiDataFetchFIU:AA:FIFetchRequest → AA:FIU:FIFetchResponse | FIDATA_PROCESSOR
aaRebitApiFIPFIFetchAA:FIP:FIFetchRequest → FIP:AA:FIFetchResponse | FIDATA_PROCESSOR
aaUserEndpointDataFetchAA:AA:DataFetchRequestForUser → AA:AA:DataFetchResponseForUser | FIDATA_PROCESSOR
Notification Stage
🔔 Notification Events
aaRebitApiFIUNotificationAA:FIU:FINotificationRequest → FIU:AA:FINotificationResponse
aaRebitApiFIPFINotificationFIP:AA:FINotificationRequest → AA:FIP:FINotificationResponse
aaRebitApiFIPFIUFINotificationAA:FIU:FINotificationRequest → FIU:AA:FINotificationResponse
Special Processors & Funnel Events
⚙️ Special Processors
FIDATA_PROCESSOR
Handles financial data processing/transformation
FIREQUEST_PROCESSOR
Handles financial information request processing
🎯 Potential Funnel Events for DW
aaRebitApiConsentRequest | aaCustomApiConsentRequestaaUserEndpointConsetApi successaaUserEndpointConfirmLinking successaaUserEndpointPostFIPConsent successaaRebitApiFIPConsentNotification with ACTIVE statusaaRebitApiGetConsent success (ARTEFACT_READY)aaRebitApiFIRequestaaRebitApiDataFetch success🔍 Missing Events Analysis
Need to verify if Kafka contains:
- • User journey completion timestamps
- • Error categorization events
- • FIP-specific performance events
- • Retry/failure tracking events
- • User drop-off point events