Get the failure reason from ValidateResult processor

2018-01-04 Thread Martin Mucha
Hi, I'm having difficulties to find a way how to get the failure reason from ValidateResult processor. I know, it emits the route provenance event, but you cannot integrate that in your flow as far as I know. I also saw suggestion to write custom reporting task, but a) that one does not have

Re: ValidateRecord1.4.0 vs ConvertJsonToAvro1.4.0 regarding required field in nested object

2017-12-06 Thread Martin Mucha
pository' -- I don't even know what that is. Martin. 2017-12-06 11:07 GMT+01:00 Juan Pablo Gardella <gardellajuanpa...@gmail.com> : > Could you share a reproducible repo or files? > > El mié., 6 de dic. de 2017 07:00, Martin Mucha <alfon...@gmail.com> > escribió: > &

ValidateRecord1.4.0 vs ConvertJsonToAvro1.4.0 regarding required field in nested object

2017-12-06 Thread Martin Mucha
Hi, I have JSON like: { "a": { "b": "1" } } and corresponding avro schema (written for the sake of this e-mail, need not to be 100% accurate) { "name": "aRecord", "type": "record", "namespace": "a", "fields": [ { "name": "a", "type": { "name": "bRecord",