Events#
The following event types are available:
| Event | Description |
|---|---|
SET_METADATA | Log entry for setting metadata on an account or transaction |
NEW_TRANSACTION | Log entry for creating a new transaction with associated account metadata |
REVERTED_TRANSACTION | Log entry for reverting an existing transaction |
DELETE_METADATA | Log entry for deleting metadata from an account or transaction |
INSERTED_SCHEMA | Log entry for inserting a new ledger schema |
COMMITTED_TRANSACTIONS | External event published when transactions are committed to the ledger |
SAVED_METADATA | External event published when metadata is saved on an entity |
DELETED_METADATA | External event published when metadata is deleted from an entity |
Publishing to HTTP#
An HTTP publisher is available out of the box since 1.3.x. It allows you to push ledger events to an http server of your choice, in a webhook-like fashion. It can be enabled by setting the
configuration variables PUBLISHER_HTTP_ENABLED and PUBLISHER_TOPIC_MAPPING.
The event payload is formatted as follows:
A COMMITTED_TRANSACTIONS event published when new transactions are committed to a ledger. Contains the complete transaction data including postings, volumes, and associated account metadata.
Publishing to Kafka#
An integration with Kafka is available out of the box since 1.3.x. It allows you to push ledger events to a kafka broker of your choice, bringing easy and reliable extensibility. It can be enabled by
setting the configuration variables PUBLISHER_KAFKA_ENABLED, PUBLISHER_KAFKA_BROKER and PUBLISHER_TOPIC_MAPPING.
Other variables are available for further authentication and configuration.
The event payload format is the same as for HTTP publishing:
A COMMITTED_TRANSACTIONS event published when new transactions are committed to a ledger. Contains the complete transaction data including postings, volumes, and associated account metadata.