Skip to content

huma-engineering/polaris-knifewrench

Repository files navigation

Announcement 📢

This repository is transferred from gdm-SynseneHealth to Huma organisation as part of change in asset ownership

Polaris Knife Wrench

Code style: black code style: prettier

Knife Wrench does two things:

Retrieves and saves messages from RabbitMQ's error queue.

This frees up RabbitMQ's memory, so the cluster isn't constantly syncing an ever-growing error queue, which provides stability.

It also allows us to diagnose the reason behind a message, which can be extremely helpful with bugfixing.

Allows a human to act on the errored messages

Humans can use a UI to mark a message as dealt with, and potentially resubmit it for processing as part of that.

Knife Wrench API

This service stores details of errored AMQP messages, and can be found in the api directory.

For more details, see api/README.md

Knife Wrench API

This service processes errored AMQP messages and POSTs them to the Knife Wrench API. It can be found in the adapter-worker directory.

Knife Wrench