Frequently asked questions

How can I configure Streaming Lake Ingestion?

Streaming Lake Ingestion stores all incoming real-time data into your lakehouse. It has no configuration options.

Depending on your use case, you can use a combination of options outside of Streaming Lake Ingestion to influence how data appears in your lakehouse:

  • Use Edge or Data Preparation to change data to more user-friendly names, execute simple calculations, or route data using processing modes.
  • Use Digital Twin Manager to promote data points to asset level.
  • Use Streaming Analytics to create new data in your desired output format.
  • Use the data broker to transfer data between tenants.
  • Use a gold layer to post-process IoT data together with your IT data into a joint and aggregated target format.

Which tools can read the lakehouse?

You can use any Apache Iceberg client that supports the Iceberg REST catalog, for example, a query engine, a notebook, or a data platform. Clients differ in which features of the lakehouse they handle. The Iceberg client compatibility repository lists the tested clients, each with a connection example and the features it handles. For the connection settings, see Connecting to the lakehouse.

How can I migrate from DataHub 1.0?

You can run the scheduled offloading jobs of DataHub 1.0 and Streaming Lake Ingestion in parallel. To migrate your post-processing or reporting to Streaming Lake Ingestion incrementally, subscribe to Streaming Lake Ingestion and port your queries or scripts as needed:

  • Streaming Lake Ingestion does not include a query engine. Run your queries or scripts with the Iceberg client of your choice. For details, see Connecting to the lakehouse.
  • Adapt your queries or scripts to the tables of Streaming Lake Ingestion. For details, see Understanding the lakehouse.

For questions on optimizing your lakehouse pipelines, contact Cumulocity support.

I see a device, alarm, measurement, event, or operation in the operational store but not in the lakehouse

Streaming Lake Ingestion transfers only the changes after your tenant subscribed. If your tenant subscribed recently and the data has not changed since then, the data is not in the lakehouse.

If the data was changed and it is not visible, check the Active alarms on the Monitoring page:

  • A schema violation alarm means that data exceeded a limit. The service rejects such data and writes it to the cdc_rejected.trash table. For details, see Rejected data.
  • An offloading failure alarm means that the service cannot write to the lakehouse. While the alarm is active, no new data reaches the affected tables. For details, see Offloading failure alarms.

I see a device in the lakehouse but not in the operational store

After you delete a device, Cumulocity removes it from the operational store. The device remains visible in the historical data in the lakehouse for long-term reporting.

I see a device in latest_inventory but not in cdc_inventory

This is expected. The service fills the latest_inventory tables with all managed objects that exist when your tenant subscribes. The cdc_inventory tables record only the changes after the subscription.

A device appears several times in the inventory of the lakehouse

The change data capture tables of the inventory (cdc_inventory) record every change to a device as a separate record, together with the kind of change. To see which change happened when, inspect the eventType and lastUpdated columns.

How can I rotate a credential without interrupting my clients?

Replacing the credential in the Connect to DataHub dialog and rotating a principal with the API both invalidate the old secret immediately. The clients that use it lose access until you update them. To rotate a credential without an interruption, move your clients to a second principal:

  1. Create a new principal with the API. For details, see To create a principal.
  2. Configure the client ID and secret of the new principal in your clients.
  3. After all clients use the new principal and all queries that use the old principal have finished, delete the old principal with the API. If the old credential is the datahub credential of the dialog, click Replace in the dialog instead.

Your clients now use the new principal without an interruption.

How can I end my subscription and obtain my data?

When the subscription of your tenant ends, the data flow stops. Your data and your catalog credentials stay available for the next 30 days. During this period, you can copy your data out of the lakehouse with an Iceberg client. For details, see Connecting to the lakehouse.

After this period, Cumulocity deletes your data and your catalog credentials.

Important
Create the catalog credentials for your Iceberg client before the subscription ends. After it ends, you cannot create or rotate credentials. The credentials you already have stay valid until Cumulocity deletes your data. For details, see To connect a client.