#cloud-events #amqp #router #cerk

cerk_port_amqp

This is a package for CERK. CERK is an open source CloudEvents Router written in Rust with a MicroKernel architecture.

11 releases

0.2.11 Jan 9, 2021
0.2.10 Jan 9, 2021
0.2.6 Dec 7, 2020
0.2.1 Nov 29, 2020
0.1.0 Nov 23, 2020

#6 in #cerk

30 downloads per month

Apache-2.0

80KB
1.5K SLoC

cerk_port_amqp

Build status

This is a package for CERK. CERK is an open source CloudEvents Router written in Rust with a MicroKernel architecture.

Introduction

CERK lets you route your CloudEvents between different different ports. Ports are transport layer bindings over which CloudEvents can be exchanged. It is built with modularity and portability in mind.

Components

CERK comes with a couple of prefabricated components, but implementing custom components is easy.

A good overview is provided on GitHub.

This Component: AMQP Port

This port publishes and/or subscribe CloudEvents to/from an AMQP broker with protocol version v0.9.1.

The port is implemented with lapin.

Content Modes

The port supports the structured content mode with the JSON event format. However, it does not support the binary content mode.

https://github.com/cloudevents/spec/blob/master/amqp-protocol-binding.md#2-use-of-cloudevents-attributes

Examples

Update Readme

The original readme text is a Rust doc comment in the lib.rs file

  1. cargo install cargo-readme
  2. cargo readme > README.md

License

Apache-2.0

Dependencies

~13–27MB
~427K SLoC