Use to change the temporal behavior with .bulk messages. With this attribute set to true, the Agent will do the following when a .bulk message is received:
1) Check if the sys_updated_on value of the message is different than the latest temporal record in the table.
2) If the value is different, insert a new temporal record.
3) If the value is the same, update the latest temporal record.
This is useful for when new fields are added to a table with new default values but the record itself hasn't been changed otherwise. This feature only applies to .bulk messages as .insert and .update messages will always insert new temporal records.
The default value is false if this attribute is not specified in which case the Agent will have default temporal behavior and always insert new temporal records.
NOTE: Executing multiple shares for the same table at the same time resulting in multiple messages for the same record may create duplicates or discrepancies.
Code Block |
---|
|
<temporal>
<update_on_bulk/>
</temporal> |