Skip to content

Conversation

nosan
Copy link
Contributor

@nosan nosan commented Sep 22, 2024

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 22, 2024
@nosan nosan force-pushed the 34778 branch 2 times, most recently from cfb416c to 1430fb3 Compare September 22, 2024 18:12
@philwebb philwebb added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 23, 2024
@philwebb philwebb added this to the 3.4.x milestone Sep 23, 2024
@nosan
Copy link
Contributor Author

nosan commented Sep 23, 2024

The open question is about hazelcast/hazelcast-enterprise image, should I add it as well?

https://hub.docker.com/r/hazelcast/hazelcast-enterprise

You do not need to set a license key for your Java clients for which you want to use Hazelcast IMDG Enterprise features. Hazelcast IMDG Enterprise license keys are required only for members.

Copy link
Contributor

@mhalbritter mhalbritter left a comment

Choose a reason for hiding this comment

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

Hey @nosan, thanks for the PR! I've left some comments for your consideration.

@mhalbritter
Copy link
Contributor

mhalbritter commented Sep 25, 2024

The open question is about hazelcast/hazelcast-enterprise image, should I add it as well?

https://hub.docker.com/r/hazelcast/hazelcast-enterprise

I can't start hazelcast/hazelcast-enterprise without setting an enterprise key.

com.hazelcast.license.exception.InvalidLicenseException: The Hazelcast Enterprise license key is not set. To set the license key, please do one of the following: - Change member config using Java API: config.setLicenseKey("...") - Change XML/YAML configuration property: Set hazelcast.license-key: ... - Add system property: -Dhz.licensekey=... (for Hazelcast embedded, works only when loading config via Config.load) - Add environment variable: HZ_LICENSEKEY=... (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load) 

You do not need to set a license key for your Java clients for which you want to use Hazelcast IMDG Enterprise features. Hazelcast IMDG Enterprise license keys are required only for members.

I think I don't understand this sentence. Does that mean I don't have to set the license key on the client which connects to the enterprise server?

@nosan
Copy link
Contributor Author

nosan commented Sep 25, 2024

I think I don't understand this sentence. Does that mean I don't have to set the license key on the client which connects to the enterprise server?

Yes, you are right. You don't need to configure a client with a license key to connect to hazelcast-enterprise.

I can't start hazelcast/hazelcast-enterprise without setting an enterprise key.

I verified this locally (I have a license key).

I am asking because I understand that adding this image without a test does not sound right.
I can add this image and test for it but in that case, HZ_LICENSEKEY should be configured on Spring Boot CI.

JUnit condition (EnabledIfEnvironmentVariable) as well.

@mhalbritter mhalbritter added the for: team-meeting An issue we'd like to discuss as a team to make progress label Sep 25, 2024
@mhalbritter
Copy link
Contributor

Thanks for the clarification. I'll talk to the team about this.

@wilkinsona
Copy link
Member

I don't think we should add support for hazelcast-enterprise as we can't (easily) test it.

@nosan
Copy link
Contributor Author

nosan commented Sep 25, 2024

Thank you very much for your review @mhalbritter
I fixed your comments. I hope I did not mess with sorting.

@mhalbritter mhalbritter self-assigned this Sep 26, 2024
mhalbritter pushed a commit that referenced this pull request Sep 26, 2024
@mhalbritter
Copy link
Contributor

Thanks @nosan !

@mhalbritter mhalbritter modified the milestones: 3.4.x, 3.4.0-RC1 Sep 26, 2024
@nosan nosan deleted the 34778 branch September 26, 2024 15:19
@nosan
Copy link
Contributor Author

nosan commented Sep 26, 2024

Thank you @mhalbritter

@philwebb philwebb removed the for: team-meeting An issue we'd like to discuss as a team to make progress label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
5 participants