Queues and streams
Queues and streams in the Carbium Library: 7 working Solana examples, among them Kafka commitment-tier topics and Pusher wallet activity channels.
- Kafka commitment-tier topics I0093
Publish each Solana transaction to Kafka topics for processed, confirmed and finalized, keyed by signature, so consumers pick how settled a record is.
- Pusher wallet activity channels I0092
Push a wallet's new transactions to browsers: one Carbium logs subscription on your server triggers a Pusher event with signature, slot and error.
- Google Pub/Sub transaction stream I0088
Read each mainnet block by slot through Carbium and publish its transactions to a Google Pub/Sub topic as one ordered batch per slot.
- BullMQ subscription fan-in I0057
One task per WebSocket subscription feeds a shared BullMQ enqueue, with jobIds for dedupe and one AbortController that stops every iterator.
- RabbitMQ SOL transfer feed I0056
Read every confirmed block, pull each SOL transfer from top-level and inner instructions, and publish it to RabbitMQ with sender, receiver and amount.
- Anchor events to NATS I0031
Relay Anchor program events from Carbium logsSubscribe to NATS subjects with a dependency-free Node 24 file, one subject per event name.
- Kafka program account topic I0030
Subscribe to every write to a program's accounts over a Carbium WebSocket and publish one record per write to a Kafka topic, keyed by account address.