From b3127868be7089283aeefd3f87581e689126a1cb Mon Sep 17 00:00:00 2001
From: Aitor <1726644+aaitor@users.noreply.github.com>
Date: Thu, 13 Feb 2020 18:45:21 +0100
Subject: [PATCH] hotfix timestamp schemas
---
CHANGELOG.md | 2 +-
pom.xml | 2 +-
src/main/resources/avro/AlertRecord.avsc | 4 ++--
src/main/resources/avro/BlockDetailsRecord.avsc | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
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",