fraudbusters-mg-connector/README.md
k.struzhkin ca0a714fab Add doc
2020-06-30 10:04:00 +03:00

23 lines
723 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/rbkmoney/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/rbkmoney/fraudbusters-proto/blob/master/proto/fraudbusters.thrift) and split to topics by events type
- chargeback
- refund
- payment