Accessing Datahub from a Java microservice

Hello

I’ve developed a Java microservice that uses the Notifications 2.0 API to receive live incoming data, and it is working.

My question is: does the Java microservice SDK have any way to retrieve historical data from Datahub?

I can’t see anything here: Microservice SDK for Java - Cumulocity IoT Guides

Thanks

Hi Philip,

yes, that’s possible via ODBC, JDBC or REST APIs. I think you’re looking for the Querying offloaded Cumulocity IoT Data section in our Data Hub Guide.

1 Like

Hi Korbinian

Thanks very much, that’s great.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.