Project: Stream Enrich
Version: 3.8.2
Expected behavior:
Enricher should mark the event as invalid and not log anything.
Actual behavior:
Enricher marks the event as invalid, but also logs the error to the console:
[ERROR] com.networknt.schema.DateTimeValidator - Invalid date-time: Invalid timezone offset: 123
Steps to reproduce:
- Run the Enricher either in the AWS pipeline or in snowplow-micro, the logging happens in both scenarios
- Prepare an event with a
date-time field. For example the com.snowplowanalytics.snowplow/consent_granted event.
- Set data to
{"expiry": "2022-02-03T11:47:43.123"} (value taken directly from this issue).