monkey
monkey copied to clipboard
Push Events from Agent to Island
Description
Write a subscriber in the agent that subscribes to all events and pushes them to the /api/events endpoint on the Island. The subscriber should receive events and push them to the Island asynchronously. To achieve this, the subscriber can push all events onto a queue and have a separate thread that wakes up periodically and sends a sequence of events to the endpoint.