Restrictions related to the digital twin layer
Please consider the following restrictions related to the digital twin layer.
Connection / Integration related
What |
Description |
Managed connections / integrations (e.g. to Bosch IoT Hub) |
Max. 100 messages/second |
Managed connections - HTTP forwarding |
Max. 100 requests can be queued for HTTP forwarding |
WebSocket connections |
Max. 100 messages/second |
WebSocket based integrations:
|
WebSocket based integrations cannot be used to implement integrations with your own horizontally scaled application, because there is no support for load balancing of receiving events via WebSockets. |
Payload mapping |
Only supported for the Connections channel |
Payload mapping: max. size of JavaScript code |
50 KB |
Payload mapping: max. execution time per message |
500 msec. (single CPU core) |
Payload mapping: max. stack depth |
10 levels |
Payload mapping: max. applied Ditto Protocol messages from one external message |
10 |
Payload mapping: JavaScript language support |
JavaScript/ECMAScript language features according to Rhino Version 1.7.14 with a subset of ES5, 6, and 7. See http://mozilla.github.io/rhino/compat/engines.html for details. |
Enrichment of events and messages |
It can take up to 2 minutes to reflect recent updates of the corresponding thing and its policy. Thus, especially for live communication, the “enriched” content might be slightly behind the current thing. |
Search via a managed connection |
Search via a managed connection only works if the convention that Hub and Things use the exact same ID is disabled (disable the Option “Bosch IoT Hub/Things ID convention is enabled.” at the UI in the Sources section). In case you need to employ the search protocol via a managed connection, you will need to configure a fine-grained per-device access control. Otherwise, searching could result in information disclosure (i.e. it would allow one device to search and list other devices and their thing data). |
Server-Sent Events (SSE) |
The Azure infrastructure does not allow SSE. Thus, in case you have booked our service plan on that infrastructure, you can not establish any SSE connection to our service. |