Event streaming
note
The event streaming plugin is open source and available to all Hyperledger Besu users.
Event streaming refers to sending event details to a streaming platform when:
- A new block is added to the blockchain.
- Logs are included in new blocks.
- A transaction event occurs. For example pending or dropped transactions.
- Synchronization is in progress.
The Hyperledger Besu documentation describes the event subscriptions available with the eth_subscribe
API.
The event streaming plugin streams events to Apache Kafka.
To configure event streams enable the plugin and set the required options from the command line. Events are streamed from the plugin to the configured message broker in serialized JSON format.