| { |
| "name": "dist_batch", |
| "process.type": "batch", |
| "data.sources": [ |
| { |
| "name": "source", |
| "connector": { |
| "type": "file", |
| "config": { |
| "format": "avro", |
| "paths": [ |
| "src/test/resources/users_info_src.avro" |
| ] |
| } |
| } |
| } |
| ], |
| "measures": [ |
| { |
| "name": "duplication_measure", |
| "type": "duplication", |
| "data.source": "source", |
| "config": { |
| "expr": "user_id", |
| "bad.record.definition": "distinct" |
| }, |
| "out": [ |
| { |
| "type": "metric", |
| "name": "duplication_metric", |
| "flatten": "map" |
| } |
| ] |
| } |
| ], |
| "sinks": [ |
| "CONSOLESink", |
| "customSink" |
| ] |
| } |