Eclipse Ditto™ 2.0.0

Eclipse Ditto 2.0.0 contains the following API breakages:

  • Removal of API version 1 (from HTTP and all Java APIs), deprecated in Ditto 1.1.0
  • Removal of public Java APIs marked with @Deprecated
  • Restructurization of Ditto's maven modules in order to simplify/ease further development

It includes the following topics/enhancements:

  • Merge/PATCH updates of digital twins
  • Configurable OpenID Connect / OAuth2.0 claim extraction to be used for authorization
  • Establishing connections to endpoints (via AMQP, MQTT, HTTP) utilizing a Ditto managed SSH tunnel
  • Addition of a DevOps API in order to retrieve all known connections
  • Expiring policy subjects + publishing of notification message prior to expiry
  • Built-in acknowledgement for search updates to have the option of twin updates with strong consistency of the search index
  • Addition of policy actions in order to inject a policy subject based on a provided JWT
  • Restoring active connection faster after a hard restart of the Ditto cluster via automatic prioritization of connections
  • Support for LastWill/Testament + retain flag for MQTT connections
  • Provide JWT tokens to Websocket endpoint with browser APIs

The following notable fixes are included:

  • Fixing that "content-type" of a Ditto Protocol JSON message describes the content of the "value" of the message
  • Fixing password encoding/decoding for AMQP 1.0 connections when special characters like "+" were used
  • Fix merging "extraFields" into thing payload when using "normalization" mapper in connections

The following non-functional work is also included:

  • Improvement of stability during rolling updates
  • Addition of sharding concept for Ditto internal pub/sub enabling connection of e.g. tens of thousands websocket sessions
  • Background cleanup improvements in order to have less impact on DB rountrip times
  • Update of third party libraries (e.g. Akka)
  • Documentation of deployment via K3S
Release Date
Release Type
Major release (API breakage)
Name Date Description
2.0.0-M1 2021/02/19 https://github.com/eclipse/ditto/milestone/29
2.0.0-M2 2021/04/08 https://github.com/eclipse/ditto/milestone/31