Skip to content

Releases: tronprotocol/event-plugin

release-v3.0.0

Choose a tag to compare

@lvs0075 lvs0075 released this 03 Jul 08:30
c9d92ae

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.

release-v2.2.0

Choose a tag to compare

@CodeNinjaEvan CodeNinjaEvan released this 05 Feb 09:07
3f0413d

Notice

Non-mandatory upgrade. This release adds support for compilation with JDK 17, fixes a series of historical bugs, and reduces the risk of data loss.

New Features

  • Add support for compilation with JDK 17 (#48)

Bug Fixes

  • Fix an issue where topics could be incorrectly matched with a certain probability (#50)
  • Fix an issue where triggerProcessLoop could not exit properly (#50)
  • Gracefully shut down ExecutorService to release resources and close MongoDB connections (#50)
  • Add one field to BlockLogTrigger and remove three redundant fields (#50)
  • Replace Constants with the EventTopic enum (#50)(#51)
  • Replace Log4j configuration with Logback to resolve incorrect logging output issues (#50)

Improvements

  • Reformat the codebase to better comply with development standards (#49)
  • Add cleanup of the build directory when running gradle clean (#50)
  • Update README with instructions for manually creating MongoDB indexes (#50)
  • Add a close interface to IPluginEventListener (#50)

release-v2.1.1

Choose a tag to compare

@CodeNinjaEvan CodeNinjaEvan released this 26 Jun 11:09
0cdf454

Notice

Non-mandatory upgrade

Changes

  1. Upgrade dependencies for security. (#43)

    • Bump org.apache.kafka:kafka-clients from 3.9.0 to 3.9.1

release-v2.1.0

Choose a tag to compare

@waynercheung waynercheung released this 23 Apr 11:16
97bea8c

Notice

Non-mandatory upgrade

Changes

  1. IPluginEventListener adds getPendingSize interface. (#37)

  2. Upgrade dependencies for security. (#40, #41)

    • Remove org.apache.kafka:kafka
    • Bump gradle from 4.8 to 7.6.4
    • Bump com.fasterxml.jackson.core:jackson-databind from 2.8.5 to 2.18.3
    • Bump com.fasterxml.jackson.core:jackson-core from 2.8.5 to 2.18.3
    • Bump org.pf4j:pf4j from 2.5.0 to 3.10.0
    • Bump org.apache.kafka:kafka-clients from 0.10.2.2 to 3.9.0
    • Bump org.projectlombok:lombok from 1.16.18 to 1.18.12
    • Bump com.alibaba:fastjson from 1.2.78 to 1.2.83
    • Bump ch.qos.logback:logback-classic from 1.2.3 to 1.2.13

release-v2.0.0

Choose a tag to compare

@waynercheung waynercheung released this 17 Oct 05:15
5b3efcc

New Features

Changes

  • add solidity log and solidity event for mongodb. #20
  • add config version to control if collection has index. #20
  • use upsert if the collection has index. #20

---

event plugin implemented with kafka

Choose a tag to compare

@jiangyy0824 jiangyy0824 released this 04 Jan 03:21
f232d5b
1.0.0

release plugin-kafka-1.0.0.zip