These two OffsetDateTime are returning a different String representation and different offsets.
The trigger time was created in a different service, but also through OffsetDateTime.now() and then send over RabbitMQ.
Are these just a different representations of the ISO-8601 format? Or am I missing a valid offset value ?
I checked the OffsetDateTime.toString() docu, but not sure if that is really where I should be looking...
Thanks everyone!
OffsetDateTime offsetDateTime = event.getTriggerTime();
System.out.println(offsetDateTime); //2019-06-19T08:56:19.152564Z
System.out.println(OffsetDateTime.now()); //2019-06-19T10:56:19.293893+02:00