[
https://issues.apache.org/jira/browse/CAMEL-20250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske updated CAMEL-20250:
-----------------------------------------
Description:
Quoting [https://github.com/abendt|http://example.com]on the pull request
[#12462|https://github.com/apache/camel/pull/12462]:
* the shardId is not available in the exchange. The shardId is required to
properly configure the GetShardIteratorRequest in the resume scenario (AWS doc)
* the KinesisResumeAdapter API does not allow to pass in the shardId.
* When consuming multiple shards the KinesisResumeAdapter will potentially be
used by multiple threads concurrently. With the current API, this could cause
concurrency issues
was:
Quoting [https://github.com/abendt|http://example.com]on the pull request
[#12462|https://github.com/apache/camel/pull/12462]
The shardId is not available in the exchange. The shardId is required to
properly configure the GetShardIteratorRequest in the resume scenario
> camel-kinesis: resume API fails to resume properly
> --------------------------------------------------
>
> Key: CAMEL-20250
> URL: https://issues.apache.org/jira/browse/CAMEL-20250
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2-kinesis
> Affects Versions: 3.21.3, 4.3.0
> Reporter: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 4.4.0
>
>
> Quoting [https://github.com/abendt|http://example.com]on the pull request
> [#12462|https://github.com/apache/camel/pull/12462]:
> * the shardId is not available in the exchange. The shardId is required to
> properly configure the GetShardIteratorRequest in the resume scenario (AWS
> doc)
> * the KinesisResumeAdapter API does not allow to pass in the shardId.
> * When consuming multiple shards the KinesisResumeAdapter will potentially be
> used by multiple threads concurrently. With the current API, this could cause
> concurrency issues
--
This message was sent by Atlassian Jira
(v8.20.10#820010)