Skip to content
On this page

What is ts-messaging? ​

The ts-messaging framework is used to build a type-consistent and broker-independent messaging systems in TypeScript. The initial implementation was made for the Kafka ecosystem, but the internal architecture should work with any messaging platform.

TIP

Just want to try it out? Skip to the Quickstart.

Key Features ​

  • In-Code Schema Definition

    Instead of providing schema file, the schema is defined in TypeScript. This allows for a more seamless development experience as no generators are required. Schema changes are automatically committed to the registry whenever a Producer or Consumer is launched.

  • Endpoint Definition

    The endpoints are defined through metaprogramming. Consumer registration and schema administration is performed by the framework, so the developer can assume that each endpoint will only be invoked if the message matches the correct schema and the message data has already been validated.

Released under the MIT License.