mirror of
https://github.com/valitydev/fraudbusters-mg-connector.git
synced 2024-11-06 01:15:17 +00:00
23 lines
725 B
Markdown
23 lines
725 B
Markdown
# fraudbusters-mg-connector
|
|
|
|
Service for stream process mg-event-sink to local fraud model.
|
|
|
|
#### Stream topic scheme
|
|
|
|
![alt text](images/fb_mg_connector_scheme.png)
|
|
|
|
Service read data from mg-event-sink using protocol [machinegun_proto](https://github.com/valitydev/machinegun_proto/blob/master/proto/event_sink.thrift).
|
|
Find need events:
|
|
- chargeback (with statuses - accepted, rejected, cancelled)
|
|
- refund (with statuses - succeeded, failed)
|
|
- payment (with statuses - processed, captured, cancelled, failed)
|
|
|
|
Map to local fraudbusters model [fraudbusters_proto](https://github.com/valitydev/fraudbusters-proto/blob/master/proto/fraudbusters.thrift) and split to topics by events type
|
|
|
|
- chargeback
|
|
- refund
|
|
- payment
|
|
|
|
|
|
|