[
https://issues.apache.org/jira/browse/CAMEL-18677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske resolved CAMEL-18677.
------------------------------------------
Resolution: Fixed
Implemented with the linked PRs.
> camel-resume-api: allow setting the cache on the configuration builder
> ----------------------------------------------------------------------
>
> Key: CAMEL-18677
> URL: https://issues.apache.org/jira/browse/CAMEL-18677
> Project: Camel
> Issue Type: Improvement
> Components: camel-resume-api
> Affects Versions: 3.19.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Minor
> Fix For: 3.20.0
>
>
> We should be able to configure the cache on the resume strategy configuration
> builders:
>
> {code:java}
> KafkaResumeStrategyConfigurationBuilder kafkaConfigurationBuilder =
> KafkaResumeStrategyConfigurationBuilder.newBuilder()
> .withBootstrapServers("kafka-address:9092")
> .withTopic("offset")
> .withProducerProperty("max.block.ms", "10000")
> .withMaxInitializationDuration(Duration.ofSeconds(5))
> .withCache(myCacheInstance); // <--- like this
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)