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

Upgrade pulsar client to 3.0.0 #167

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Upgrade pulsar client to 3.0.0 #167

merged 2 commits into from
Jun 30, 2023

Conversation

aymkhalil
Copy link
Contributor

@aymkhalil aymkhalil commented Jun 28, 2023

At the time #144 was implemented, pulsar client 2.10.4 was not released. This patch is a follow up to use the recommended version. Please note that 2.11 is not possible to use atm because it required java 17 CDC need to compile with java 11,

@aymkhalil aymkhalil marked this pull request as ready for review June 28, 2023 19:38
Copy link
Collaborator

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

It's fine to upgrade to 2.10.4.
However, you can upgrade up to 3.0 as the Pulsar client and Pulsar Admin libraries work on jdk8 and also the Pulsar Functions APIs work on jdk11 (and you don't bundle them in the nar, even if they are compiled for jdk17).

The fact is that you will need to use jdk17 to compile the project (and also ensure that the release parameter is passed to javac and set to 11).
If we run the Pulsar server components I'm the tests then we must use jdk17 to run the tests.

In Pulsar JMS we have also server side components (the filters) that use apis compiled for jdk17 but that are not bundled into the .nar, and everything still works well on jdk11

@aymkhalil aymkhalil changed the title Upgrade pulsar client to 2.10.4 Upgrade pulsar client to 3.0.0 Jun 30, 2023
@aymkhalil aymkhalil merged commit d974508 into master Jun 30, 2023
41 checks passed
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.

None yet

2 participants