Decoded, normalised on-chain events, published to Kafka topics within seconds of the block timestamp, for enterprise data pipelines.SonarX Kafka Datastreams is SonarX’s real-time blockchain event-streaming offering for enterprise data pipelines. It publishes indexed, decoded and normalised on-chain events to Apache Kafka topics, organised by chain and dataset. Data engineering teams consume the streams with standard Kafka clients, in any language, and route events into the processors, warehouses and alerting systems they already run.
SonarX Kafka Datastreams at a glance
How latency is measured
SonarX measures latency from the block timestamp, the time the chain itself records for the block. The clock does not start when a block reaches a node. The starting point decides what a latency figure means. Counted from the moment a block reaches a node, latency leaves out the time the block spent getting there, and comes out in milliseconds. Counted from the block timestamp, it covers everything that happens after the chain produces the block, which is the delay a pipeline actually experiences. Two latency figures are comparable only when they start from the same point. On that basis, for primitive datasets for delivery of Avro, P50 latency is under 1 second and P90 latency is under 2.1 seconds across chains including Polygon, Monad and Arbitrum.Who needs low-latency blockchain event streams
The pattern is the same in every row: the first version of the pipeline is a WebSocket or a webhook, it works in the demo, and the first production outage reveals that nothing was stored on the way in.
Why Kafka rather than WebSockets or webhooks
Apache Kafka is an open-source, distributed, append-only commit log. Producers write events to topics; topics are split into partitions and replicated across brokers; consumers read from an offset and commit their position as they go. Three properties follow from that design, and they are the reason enterprise data teams standardised on it for event distribution:- The log waits for you. Events are stored on the broker before anyone reads them. A consumer that disconnects reconnects and continues from the offset it last committed, as long as that offset is still within the topic’s retention window.
- Many readers, one write. Consumer groups let a trading engine, a risk service and a warehouse loader each read the same topic independently, at their own pace, without the producer knowing.
- Order and delivery are defined. Messages within a partition are ordered. Delivery is at-least-once by default; Kafka has supported transactional exactly-once processing since version 0.11 (2017), and end-to-end guarantees depend on the consumer and its destination.
WebSockets and webhooks are good transports for a browser tab or a notification. They are not storage. Kafka is both.
What it takes to consume
You need four things from SonarX: a bootstrap server, SASL credentials, Schema Registry credentials, and the list of topics provisioned for you. Everything else is a standard Kafka client. Minimal consumer example (Python,confluent-kafka). Offsets are committed only after the event has been processed, so a crash mid-batch replays the batch rather than skipping it.
Resuming after downtime. Keep
group.id stable and commit offsets after processing. If retention still covers your committed offset when the consumer returns, it resumes from there and nothing is lost. Retention on SonarX topics is configurable per topic, from 1 hour to 1 day, so agree a window with the team that covers your longest expected stop. History older than the retention window is available through the historical datasets.Coverage and filtering
SonarX offers Kafka streaming across the chains in its coverage table; the Kafka column shows availability per chain, and topics are provisioned by the SonarX team. Every dataset SonarX indexes on a supported chain can be delivered as a topic: raw blocks, transactions, receipts, logs and traces; decoded token transfers, priced transfers and net transfers; approvals, NFT transfers and token metadata on EVM chains; DEX trades, staking and validator events, and chain-specific datasets where the chain has them. The data on the topic is the same decoded, normalised data SonarX delivers through its data shares, so a field means the same thing on the stream as it does in the warehouse. Topics are always scoped to one chain and one dataset. Within that scope, a topic can be filtered on its content, so a desk that only wants transfers above a threshold for two tokens, or every event touching a list of addresses, receives exactly that and nothing else. Filtered topics are set up by the SonarX team as part of the white-glove service every customer receives. Tell us the chain, the dataset and the predicate.Kafka streams, APIs and historical datasets
SonarX delivers real-time blockchain data two ways: Kafka Datastreams for continuous event consumption, and low-latency APIs for request-response access to balances, holdings and transfers. Historical datasets are delivered as data shares and files. This page covers Kafka; the API and historical paths are separate integrations with their own documentation.Hyperliquid on Kafka
Hyperliquid runs its order books on-chain with one-block finality, so there is no slower fallback to poll. Every dataset on the Hyperliquid page can be streamed as a Kafka topic, covering Hyperliquid Core and HyperEVM:- Hyperliquid Core: orders, orders failed, order status updates, node fills (liquidations are fills carrying a liquidation marker with the liquidated user, mark price and method), funding rates, open interest and perp positions, ledger updates (deposits, withdrawals, account transfers), transfers, transactions and transactions failed, events, staking events, delegator and validator details. Full-depth L2 and L4 order-book data is offered separately for purchase.
- HyperEVM: the full EVM set, the same tables SonarX delivers on every EVM chain.
Frequently asked questions
Does SonarX provide low-latency blockchain event streaming for enterprise data pipelines? Yes. SonarX Kafka Datastreams publish decoded, normalised on-chain events to Apache Kafka topics, one per chain and per dataset, across 130+ chains, with retention configurable per topic from 1 hour to 1 day and content filtering. For blocks, transactions, logs and transfers for delivery of Avro, P50 latency is under 1 second and P90 latency is under 2.1 seconds from the block timestamp, across chains including Polygon, Monad and Arbitrum. How fast is it? For primitive datasets (blocks, transactions, logs, transfers) for delivery of Avro, P50 latency is under 1 second and P90 latency is under 2.1 seconds from the block timestamp, across chains including Polygon, Monad and Arbitrum. Derived datasets add their decoding time on top. Where does the latency clock start? At the block timestamp, the time the chain itself records for the block, not at the moment a block reaches a node. A figure counted from node receipt leaves out the time the block took to get there and comes out in milliseconds; a figure counted from the block timestamp is the delay a pipeline actually experiences. See How latency is measured. How long can I replay? Retention is configurable per topic, from 1 hour to 1 day, based on what you need. Setauto.offset.reset to earliest on a new consumer group to read from the start of retention. History older than the window is available through the historical datasets.
Is delivery exactly-once? Delivery is at-least-once by default, so consumers should tolerate a replayed event. Kafka supports transactional exactly-once processing; end-to-end guarantees depend on your consumer and its destination.
Can I get a filtered topic? Yes. Topics are per chain and per dataset, and can be filtered on message content. Send the team the chain, dataset and predicate; provisioning it is part of the white-glove service every SonarX customer receives.
Which chains and datasets? Any chain with Kafka availability in the coverage table, any dataset SonarX indexes on it, including everything on the Hyperliquid page.
How is it sold? Kafka Datastreams are available on their own or alongside Real-Time Streams and the historical datasets, at different price points. Ask the team.
What do I need to connect? A Kafka client, SASL credentials and Schema Registry credentials from SonarX. No node, no RPC endpoint, no WebSocket reconnect logic.
Next steps
Apache Kafka quick-start
Full consumer example, credentials, and getting-started steps.
Real-Time Streams overview
How SonarX sources, verifies and scales real-time data across chains.
Hyperliquid datasets
Every Hyperliquid Core and HyperEVM dataset available for streaming.