Device Groups in stream analytics builder

What product/components do you use and which version/fix level are you on?

latest

Is your question related to the free trial, or to a production (customer) instance?

production

What are you trying to achieve? Please describe it in detail.

Q1. The model is built with device group as input and deployed. A device which is member of the device group is deleted after model is deployed. Will the running model recognize this change and stop the instance of the model to which this device belongs?

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

I believe you have to deactivate and reactivate the model for it to take into account the current group devices.

If you delete a device from a group and don’t deactivate/reactivate the model it will keep taking the device into account.

similarly if you add a device to a group, you would have to deactivate/reactivate the model for that new device to be taken into account.

That means if there is a insert or delete in the device group, for the analytics model to include update of the device group in the processing we have stop the existing running model and activate it again inorder for the model to recognize the update.

If the model is deployed for the sensors device group that are at the customer field, the procedure of the activating and deactivating may result in data loss. Is there any work around where the model can recognize the new updates in device group automatically.

Not that I know of.

This from the documentation…

https://documentation.softwareag.com/apama/Analytics_Builder/pab10-14-0/apama-pab-webhelp/#page/apamaanalyticsbuilder-webhelp%2Fco-AnaBui_model_execution_for_different_devices.html%23

Note:
A model that acts on a device group only determines the device group membership when the model is activated. If the membership of a device group changes while a model is running, the model will not behave any differently for any new or removed members of the group. If a device group membership is changed, then models that refer to that device group should be de-activated and re-activated.

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