SDK Changes to HistoryManager

We have a custom module that we built that Ignition Tag History and streams it to Kafka topics. Our module was working with Ignition 8.1.19, we recently upgraded to Ignition 8.1.32 and now our module is failing.

In the logs, we get an error for every time a tag changes from the "HistoryManager" logger with the error "The tag history provider 'kafka-tag-history' is either disabled or doesn't exist. Sink cannot accept tag history data." In our custom module, we import com.inductiveautomation.ignition.gateway.history.sf.sinks.AbstractSink and use that to register 'kafka-tag-history' as a Tag History provider.
In designer, all of our tags then can have their tag history set to go to 'kafka-tag-history', it is available as a drop down selection.

Has the SDK been updated to cause the error we are seeing? Any ideas?

I'm pretty sure you're running into the same regression surfaced by another developer implementing a third party historian. It's fixed in 8.1.33.

Described in a bit more detail here: Nightly 8.1 Changelogs - 2023 - #141 by system

Tag Historian
IGN-8408: Unable to send tag historical data to the Canary historian.
Fixed an issue where Tag History storage wouldn't be accepted to targeted DataSink if matching Tag History provider didn't exist.

1 Like

@PGriffith Thanks for the response, we will look at upgrading and see if that fixes our issue