mirror of
https://github.com/valitydev/fraudbusters-mg-connector.git
synced 2024-11-06 01:15:17 +00:00
Add doc
This commit is contained in:
parent
bff4578536
commit
ca0a714fab
21
README.md
21
README.md
@ -1 +1,22 @@
|
|||||||
# fraudbusters-mg-connector
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BIN
images/fb_mg_connector_scheme.png
Normal file
BIN
images/fb_mg_connector_scheme.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
Loading…
Reference in New Issue
Block a user