The following pages and posts are tagged with
| Title | Type | Excerpt |
|---|---|---|
| Change Notifications | Page | Change notifications deliver events to your application whenever a digital twin or device state changes. TL;DR: Subscribe to change notifications via WebSocket, Server Sent Events (SSE), or connections. Filter by namespace or RQL expression to receive only the events you care about. How to receive change... |
| Conditional requests on things | Page | Conditional requests let you apply commands to Things only when specific conditions about the Thing’s current state are met. TL;DR: Use the condition header with an RQL expression to make updates conditional on the Thing’s current state. You can also use If-Match/If-None-Match... |
| RQL expressions | Page | You query Ditto using a subset of Resource Query Language (RQL) for specifying queries, filters, and conditions. TL;DR: RQL provides nestable operators like eq(), gt(), like(), and exists() combined with and(), or(), not(). Use... |
| Search functionality | Page | Ditto provides a search service that lets you query across all managed digital twins using RQL expressions. TL;DR: You search Things using RQL filter expressions, with results sorted and paged. The search index updates asynchronously (eventual consistency) – typically within 1-2 seconds. Overview You can access... |
| AMQP 0.9.1 protocol binding | Page | You use the AMQP 0.9.1 binding to connect Ditto with message brokers like RabbitMQ for consuming and publishing messages. TL;DR: Configure an AMQP 0.9.1 connection with connectionType: "amqp-091". Source addresses are queue names, and target addresses use the format exchange_name/routing_key. Overview The AMQP... |
| AMQP 1.0 protocol binding | Page | You use the AMQP 1.0 binding to connect Ditto with AMQP 1.0 endpoints such as Eclipse Hono or Azure Service Bus. TL;DR: Configure an AMQP 1.0 connection with connectionType: "amqp-10". Source addresses are AMQP link names, and target addresses can be queues (queue://) or... |
| HTTP 1.1 protocol binding | Page | You use the HTTP 1.1 binding to push data from Ditto to external HTTP endpoints using GET, POST, PUT, or PATCH requests. TL;DR: Configure an HTTP connection with connectionType: "http-push". Target addresses use the format VERB:/path. HTTP connections are outbound-only – they do not... |
| Apache Kafka 2.x protocol binding | Page | You use the Kafka 2.x binding to consume messages from and publish messages to Apache Kafka brokers. TL;DR: Configure a Kafka connection with connectionType: "kafka". You must set bootstrapServers in specificConfig. Source addresses are Kafka topics, and target addresses support <code class="language-plaintext... |
| WebSocket Binding | Page | You use the WebSocket binding to send Ditto Protocol messages over a persistent, duplex connection – enabling real-time change notifications, bidirectional messaging, and live device interaction. TL;DR: Connect to ws://localhost:8080/ws/2, send Ditto Protocol JSON messages, and subscribe to events, messages, or live commands using plain-text... |
| HTTP API Search | Page | You search for Things using RQL expressions against the HTTP search endpoint, with support for filtering, sorting, paging, and field selection. TL;DR: Send GET or POST requests to /api/2/search/things with filter, option, fields, and <code... |
| Server-Sent Events (SSE) | Page | You use Server-Sent Events (SSE) to receive real-time change notifications for digital twins and to stream search results – all through a simple, unidirectional HTTP connection. TL;DR: Open an SSE connection to /api/2/things with Accept: text/event-stream to stream change notifications, or to <code class="language-plaintext... |
| Support conditional requests for live messages | Post | With the upcoming release of Eclipse Ditto version 3.1.0 it will be possible to process live messages based on conditions. Conditional live messages Ditto now supports conditional message sending based on a specified condition in the request. This functionality can be used via the HTTP API with an HTTP... |
| Support conditional requests for things resources | Post | With the upcoming release of Eclipse Ditto version 2.1.0 it will be possible to execute conditional requests on things and their sub-resources. Conditional requests for things resources Ditto now supports conditional requests on things and all of its sub-resources based on a specified condition in the request. This functionality... |
| Selective push notifications available | Post | The connectivity service supercharged Ditto’s flexibility in integrating with other services. It’s such a great feature to let the other connected services know about thing updates and property changes. Even the direct exchange with real-world assets became more flexible through the multi-protocol support. But with a steady increase in... |