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

Docs: Feedback for Filtering Members with Attributes #1264

Open
wyohm opened this issue Aug 29, 2024 · 0 comments
Open

Docs: Feedback for Filtering Members with Attributes #1264

wyohm opened this issue Aug 29, 2024 · 0 comments

Comments

@wyohm
Copy link

wyohm commented Aug 29, 2024

Hi, I have some feedback about this page

Wrong variable names used (second line looks like is should be fourCore.setAttribute() ):

        MemberAttributeConfig fourCore = new MemberAttributeConfig();
        memberAttributeConfig.setAttribute( "CPU_CORE_COUNT", "4" );

This section suggests using a method ( [HazelcastInstance](https://docs.hazelcast.org/docs/5.5.0/javadoc/com/hazelcast/core/HazelcastInstance.html).setAttribute() ) which does not exist.

        HazelcastInstance member4 = Hazelcast.newHazelcastInstance();
        // We can also set member attributes at runtime.
        member4.setAttribute( "CPU_CORE_COUNT", "2" );
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

No branches or pull requests

1 participant