[
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 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.
was:
Each time when camel kinesis connector requests records, it gets shard iterator
first. This will cause performance loss.
Possible solution is to store next shard iterator returned by response.
> Camel-kinesis: Listing shard before every record request will reduce
> performance
> --------------------------------------------------------------------------------
>
> 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 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.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)