You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/11/04 12:23:00 UTC
[jira] [Updated] (CAMEL-18677) camel-resume-api: allow setting the cache on the configuration builder
[ https://issues.apache.org/jira/browse/CAMEL-18677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske updated CAMEL-18677:
-----------------------------------------
Priority: Minor (was: Major)
> 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)