Crates.io | plerkle_messenger |
lib.rs | plerkle_messenger |
version | |
source | src |
created_at | 2022-08-23 18:13:02.841142+00 |
updated_at | 2025-03-26 21:21:00.855094+00 |
description | Metaplex Messenger trait for Geyser plugin producer/consumer patterns. |
homepage | |
repository | https://github.com/metaplex-foundation/digital-asset-validator-plugin |
max_upload_size | |
id | 651140 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A message bus agnostic Messaging Library that sends Transaction, Account, Block and Slot updates in the Plerkle Serialization format.
The plerkle serialization API changes at 1.0.0 which is a breaking change. This method removes confusion around the Recv data lifetime being tied back to the messenger interface. Now the data is owned.
The Messenger can operate in two modes: a single Redis instance or multiple Redis instances.
Just to clarify, the multiple Redis instances setup doesn't create a clustered connection. It's designed to work with separate, independent instances.
You can configure the Redis client type via environment variables.
Example environment configuration for a single Redis instance:
export PLUGIN_MESSENGER_CONFIG='{
messenger_type="Redis",
redis_connection_str="redis://:pass@redis.app:6379"
}'
Example environment configuration for multiple Redis instances:
export PLUGIN_MESSENGER_CONFIG='{
messenger_type="RedisPool",
redis_connection_str=[
"redis://:pass@redis1.app:6379",
"redis://:pass@redis2.app:6379"
]
}'
To switch between modes, you'll need to update both the messenger_type
and redis_connection_str
values.