Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use shaded cache module for Reactive client #403

Merged
merged 2 commits into from
May 9, 2023

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented May 8, 2023

  • use pulsar-client-reactive-producer-cache-caffeine-shaded
  • exclude pulsar-client from reactive client modules as it brings in unwanted transitive deps

- use `pulsar-client-reactive-producer-cache-caffeine-shaded`
- exclude `pulsar-client` from reactive client modules as it
  brings in unwanted transitive deps
@@ -17,7 +25,6 @@ dependencies {
optional 'com.google.protobuf:protobuf-java'
optional 'com.jayway.jsonpath:json-path'
optional 'io.projectreactor:reactor-core'
optional 'org.apache.pulsar:pulsar-client-reactive-producer-cache-caffeine'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that Caffeine is shaded in the cache module we can bring it in by default as it is recommended to use the cache module. This is the same thing we do for the imperative side (it brings in shaded cache module as well).

- use `pulsar-client-reactive-producer-cache-caffeine-shaded`
- exclude `pulsar-client` from reactive client modules as it
  brings in unwanted transitive deps
@onobc onobc merged commit e696220 into spring-projects:main May 9, 2023
@onobc onobc deleted the cbono-use-reactive-shaded-cache2 branch May 9, 2023 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant