- Newest
- Most votes
- Most comments
Hello, first of all here you can see when a contact record is generated: Events in the contact record. Until the agent interaction is not finished the CR won't be generated.
When the CR is generated is transmitted either to Kinesis streams or to Kinesis firehose, depending on your configuration. (See Enable data streaming for your instance).
In your case, as you are using firehose, this service introduce a buffer time between 60 and 900 seconds: Firehose data frequency delivery. You can change the buffer time and interval settings to reduce this latency to a minimun of 60 seconds.
If you need to reduce further this latency then you should use Kinesis streams as the target of your contact records stream. A possible architecture here is to use a lambda to consume each record and to write directly into S3: Using AWS Lambda with Amazon Kinesis. With this configuration you will reduce to just some seconds the total latency of the CRs appearing in your S3 bucket.
Thank for your reply. Any possibility to not using lambda which is from kinesis stream directly to S3 without lambda/firehose?
Contact records are only exported using Kinesis. And for using the data in a kinesis stream you need always a consumer.
Here you can see the full list of possible Kinesis consumers: Reading Data from Amazon Kinesis Data Streams. One common alternative for using lambda would be to leverage the Kinesis Client Library in a container or instance based solution.
I would also recommend to have a look at the list of Connect APIs (specially the Get and List), where you can obtain information with just an API call (so Kinesis is not needed here). For example the Connect Real-time metrics can be obtained in real-time using the GetCurrentMetricData API. If the information that you need can be obtain from those APIs this would be a way to avoid using Kinesis and lowering the total latency.
Relevant content
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago