Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Resilience4j Issue with BDK 3

We are facing the following error while trying to configure the symphony-bdk-bom-3.0.0.RC3, please help me to resolve this issue, we are using the resilience4j version as follows

   <dependency>
        <groupId>org.finos.symphony.bdk</groupId>
        <artifactId>symphony-bdk-core</artifactId>
        <exclusions>
            <exclusion>
                <groupId>io.github.resilience4j</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.finos.symphony.bdk</groupId>
        <artifactId>symphony-bdk-http-jersey2</artifactId> 
    </dependency>
    <dependency>
        <groupId>org.finos.symphony.bdk</groupId>
        <artifactId>symphony-bdk-template-freemarker</artifactId> 
    </dependency>
			
			<dependency>
        <groupId>io.github.resilience4j</groupId>
        <artifactId>resilience4j-spring-boot3</artifactId>
    </dependency>

Caused by: java.lang.NoSuchMethodError: 'java.lang.Object io.github.resilience4j.retry.Retry.executeCheckedSupplier(io.vavr.CheckedFunction0)'
at com.symphony.bdk.core.retry.resilience4j.Resilience4jRetryWithRecovery.execute(Resilience4jRetryWithRecovery.java:65)
at com.symphony.bdk.core.auth.impl.AuthenticationRetry.executeAndRetry(AuthenticationRetry.java:85)
... 135 more

  
  
Posted 8 months ago
Edited 7 months ago
Votes Newest

Answers 2


This is now addressed in 3.0.0.RC4

https://github.com/finos/symphony-bdk-java/releases/tag/v3.0.0.RC4

  
  
Posted 7 months ago
Yong Sheng Tan
39 × 2 Administrator

Yes, it looks like the resilience4j version that we are using is pretty out to date, BDK's client retry mechanic is building on resilience4j 1.7.1, and resilience4j changed the executeCheckSupplier method signature, this is the cause of your problem.
As you can see this BDK3.0.RC is not an official release, we'd like to see the feedback on the test both internally and externally, we will update the resilience4j dependency version in a next RC release.
Meanwhile, you unfortunately have to stick with the default resilience4j version from BDK.

thank you very much for your report.

Please note that BDK is an open source project in github, we'd like to switch our support completly from this forum to github, so any open issues will be shared to the community, i would kindly suggest you to post any issues directly to github project next time, https://github.com/finos/symphony-bdk-java/issues.

1
1
Posted 8 months ago
3K Views
4 Answers
8 months ago
7 months ago