You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation to challenge is based in two services transaction-service and antifraud-service the first handler the creation of accounts and transacctions to make this last action this service send the transaction created to another service (to verify) according to criteria entrusted
La solucion consiste en la implementacion de dos microservicios los cuales se comunican entre si,
tenemos el microservicio de transaccion (encargado de gestionar toda transaccion) y el microservicio
de antifraude, ambos microservicios no solo se comunican entre si no tambien tienen una comunicacion basada en eventos
de manera inversa a su ejecuccion normal, resulta que el microservicio de transaccion al crear una transaccion,
la valida, la guarda (estado "pending") e inmediatamente la envía al microservicio de antifraude, aquí se valida el criterio de aceptación es decir que el monto de la transacción sea menor a 1000 y de acuerdo a esto desde aquí de envía un mensaje a un bróker de Kafka, el mismo que se configuro como consumidor al primero microservicio (transacciones) haciendo que este servicio actualice el estado de acuerdo a lo que se determina en el microservicio de antifraude.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation to challenge is based in two services transaction-service and antifraud-service the first handler the creation of accounts and transacctions to make this last action this service send the transaction created to another service (to verify) according to criteria entrusted