[
https://issues.apache.org/jira/browse/CAMEL-20776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fan Yang updated CAMEL-20776:
-----------------------------
Description:
Each time when camel kinesis connector requests records, it gets shard list
first. This will increase E2E latency for each message. In most scenario, shard
list won't change frequently. So, it's unnecessary to get shar list before
every data request. We can start a thread to monitor the shard change.
was:
Each time when camel kinesis connector requests records, it gets shard list
first. This will cause performance loss. In most scenario, shard list won't
change frequently. So, it's unnecessary to get shar list before every data
request. We can start a thread to monitor the shard change.
> Camel-kinesis: Listing shard before every record request will increase extra
> latency
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-20776
> URL: https://issues.apache.org/jira/browse/CAMEL-20776
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws2-kinesis
> Reporter: Fan Yang
> Priority: Minor
>
> Each time when camel kinesis connector requests records, it gets shard list
> first. This will increase E2E latency for each message. In most scenario,
> shard list won't change frequently. So, it's unnecessary to get shar list
> before every data request. We can start a thread to monitor the shard change.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)