Project

polyn

0.0
Repository is archived
No release in over a year
A lightweight reactive microservice framework.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Polyn

Polyn is a message validation framework for the NATS messaging system. When publishing messages in NATS there are no restrictions about what the structure of the message is. This can lead to unexpected errors and make it difficult to anticipate what data to expect in a given message.

Polyn remedies this by defining JSON Schema contracts for messages that are validated by client libraries when messages are published and consumed. Knowing what fields are available and having those contracts enforced leads to a more predictable and reliable system.

Protocol

Polyn defines a protocol, that the client libraries adhere to, to ensure consistency. The protocol is defined here

Client Libraries

Polyn has the following client libraries: