8000 Enricher logs unnecessary line while validating date-time fields - "[ERROR] com.networknt.schema.DateTimeValidator - Invalid date-time: Invalid timezone offset: 123" · Issue #835 · snowplow/enrich · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Enricher logs unnecessary line while validating date-time fields - "[ERROR] com.networknt.schema.DateTimeValidator - Invalid date-time: Invalid timezone offset: 123" #835
Open
@marcin-j

Description

@marcin-j

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:

  1. Run the Enricher either in the AWS pipeline or in snowplow-micro, the logging happens in both scenarios
  2. Prepare an event with a date-time field. For example the com.snowplowanalytics.snowplow/consent_granted event.
  3. Set data to {"expiry": "2022-02-03T11:47:43.123"} (value taken directly from this issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0