The aim of the project is to stream ZenDesk Tickets in real-time.
To build such system, Akka HTTP Version 10.2.3 is implemented.
To run the program, a sbt shell is needed. Intellij has all premise installation requirements.
When consumer receives a ZendeskDomain object it fires following operations;
- Performs an initial call to Zendesk's time-based endpoint to fetch all tickets opened until start time.
- System preserves the cursor information to fetch the next set of tickets in each run.
- With the initial cursor info, a throttled infinite stream starts to fetch tickets.
- In each run tickets are displayed in console.
Request
curl -d '{"domain":{domain},"oauth":{token},"startTime":"1511111871"}' -H "Content-Type: application/json" -X POST http://localhost:3000/data
Response
Ok(200)
- SBT - Dependency Management
v0.1
- Soner Guzeloglu - Initial work