diff --git a/README.md b/README.md index 65b1bc0..7ad8743 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ # 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 + + + diff --git a/images/fb_mg_connector_scheme.png b/images/fb_mg_connector_scheme.png new file mode 100644 index 0000000..f8d6a99 Binary files /dev/null and b/images/fb_mg_connector_scheme.png differ