Cloud Managed Networks

 View Only

Aruba Central Streaming API: Filter by time/avoid duplicated events

This thread has been viewed 7 times
  • 1.  Aruba Central Streaming API: Filter by time/avoid duplicated events

    Posted Oct 24, 2023 05:34 AM

    Hi All,

    We are using the "wsclient_public.py" python client for the Aruba Central streaming API, to pull events from a given topic.

    We are just using the regular execution:

    python3 wsclient_public.py --hostname <aruba-central-instance>.central.arubanetworks.com --jsoninput input.json --decode_data

    The thing is that each time that the client starts, we pull all the events available for a given topic .. being honest  this differs from the concept of a subscription, where you pull data once for each consumer application identified by a client/consumer group ID

    As a result, duplicated events are pulled, is there a way to avoid this?

    typically this can be done with time filters, but the params to do so, have been removed.

    Thank you very much,

    Best regards,

    karl.