diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dd9750..1b4bfb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ History ======= -0.2.0 (2020-02) +0.2.1 (2020-02) ------------------ * Schemas naming refactor diff --git a/pom.xml b/pom.xml index c9175c8..c61e45d 100755 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.keyko.monitoring schemas jar - 0.2.0 + 0.2.1 Web3 Monitoring Schemas https://github.com/keyko-io/web3-monitoring-schemas diff --git a/src/main/resources/avro/AlertRecord.avsc b/src/main/resources/avro/AlertRecord.avsc index b907516..82836fe 100644 --- a/src/main/resources/avro/AlertRecord.avsc +++ b/src/main/resources/avro/AlertRecord.avsc @@ -26,8 +26,8 @@ }, { "name": "timestamp", - "type": "string", - "java-class": "timestamp-millis" + "type": "long", + "logicalType": "timestamp-millis" }, { "name": "description", diff --git a/src/main/resources/avro/BlockDetailsRecord.avsc b/src/main/resources/avro/BlockDetailsRecord.avsc index 8b58a3c..9a8632f 100644 --- a/src/main/resources/avro/BlockDetailsRecord.avsc +++ b/src/main/resources/avro/BlockDetailsRecord.avsc @@ -13,8 +13,8 @@ }, { "name": "timestamp", - "type": "string", - "java-class": "timestamp-millis" + "type": "long", + "logicalType": "timestamp-millis" }, { "name": "nodeName",