Notice
Mandatory Event Plugin upgrade for nodes running java-tron v4.8.2 and later.
New Features
Event Model
- Add a removed boolean field to block and transaction event triggers. (#56)
This field indicates whether a block or transaction event has been removed due to chain reorganization. Event consumers should treat removed=true as a rollback signal and update downstream state accordingly.
Changes
Dependencies and Compatibility
- Upgrade pf4j from 3.10.0 to 3.15.0, and upgrade kafka-clients from 3.9.1 to 3.9.2. (#55)
- Remove fastjson and use Jackson for JSON parsing and serialization. Bump Kafka and MongoDB plugin package versions to 3.0.0. (#54)
Compatibility Notes
- Node operators should update event.subscribe.path to the newly built plugin ZIP package, for example plugin-kafka-3.0.0.zip or plugin-mongodb-3.0.0.zip.
- Consumers with strict schemas should add support for the new removed boolean field on block and transaction events.
- The migration from fastjson to Jackson is intended to keep normal event JSON behavior stable. However, malformed JSON or inputs that previously relied on fastjson-specific lenient parsing may now be handled more strictly.
- Event Plugin before v3.0.0 that depend on fastjson should not be used with java-tron v4.8.2 and later.