hazelcast / hazelcast/hz-docs

Docs: Feedback for Filtering Members with Attributes

Open
#1,144 0 comments 0 reactions 0 assignees View on GitHub
Needs investigation question
Dominant language
No language data
Stars
11
Forks
112
Avg merge
20h 29m
Merged PRs (30d)
19

Description

Hi, I have some feedback about [this page](https://github.com/hazelcast/hz-docs/edit/main/docs/modules/maintain-cluster/pages/member-attributes.adoc)

The `HazelcastInstance` interface does not provide the `setAttribute(..)` method, so the code snippet is invalid:

```
HazelcastInstance member4 = Hazelcast.newHazelcastInstance();
// We can also set member attributes at runtime.
member4.setAttribute( "CPU_CORE_COUNT", "2" );
```

Are you sure it is still possible to do "or provide the member attributes at runtime via attribute setter methods on the Member interface."?

Contributor guide

No contributing guide indexed for this repository

Research direction

Open docs/modules/maintain-cluster/pages/member-attributes.adoc and review the Filtering Members with Attributes example. Check the HazelcastInstance and Member APIs to verify whether runtime attribute setters are available, then update the invalid snippet and the related runtime-attributes statement. Done means the example uses valid APIs and accurately describes supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.