polyn

A lightweight reactive microservice framework.


License
MIT
Install
gem install polyn -v 0.4.0

Documentation

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: