AWS Connect delivers contact trace recording very slow

0

I have setup AWS Connect -> kinesis firehose -> S3 However it took like 5-10 mins to create CTR in S3 bucket while in contact lens show the record is completed. How do we improve this siltation? Thanks

3개 답변
1
수락된 답변

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.

profile pictureAWS
답변함 7달 전
profile pictureAWS
전문가
검토됨 6달 전
0

Thank for your reply. Any possibility to not using lambda which is from kinesis stream directly to S3 without lambda/firehose?

답변함 7달 전
0

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.

profile pictureAWS
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠