stream-replicator icon indicating copy to clipboard operation
stream-replicator copied to clipboard

Allow SR to copy message when specific value is set to True by Autonomous Agent that is used to gather facts

Open antonioodunuga1 opened this issue 1 year ago • 1 comments

We use an autonomous agent to gather facts and populate a facts file where the contents get added to a message on the choria registration stream and is used to monitor our fleet nodes.

We already use the sampling use cases that SR abides by but we want SR to replicate messages through an additional scenario ie:

Add another option where if our autonomous agents puts a specific value to true in the facts we will unconditionally copy it. This way our autonomous agent can tell us when there is a significant change.

This will allow us to replicate messages not only when the message has increased significantly in size but also when the contents of the file has changed

antonioodunuga1 avatar Oct 30 '24 10:10 antonioodunuga1

@antonioodunuga1 I did this as described in this PR here https://github.com/choria-io/stream-replicator/pull/153 let me know what yous think

ripienaar avatar Oct 31 '24 10:10 ripienaar