zalando / nakadi

A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
https://nakadi.io
MIT License
952 stars 292 forks source link

Enforce alphabetic ISO-4217 currency format validation #1541

Closed 1u0 closed 1 year ago

1u0 commented 1 year ago

One-line summary

Changes ISO4217CurrencyCodeValidator to a proper schema (format) validator (instead of logging invalid values) for alphabetic ISO 4217 currency codes.

This is follow up of #1529.

Description

Goal: reject publishing events with event type schemas' containing iso-4217 format.

Review

Deployment Notes

The feature is not feature toggled (there is some inverse dependency of the core-common and the sub-project containing FeatureToggleService. For simplicity of implementation, this change assumes that there are no publishers violating this (new) restriction.

a1exsh commented 1 year ago

:+1:

1u0 commented 1 year ago

:+1:

Jan-M commented 1 year ago

:+1: