Skip to content

Add ZCCS config properties [DOC-768] - #2265

Merged
mscwilson merged 2 commits into
mainfrom
zccs-properties
Jul 28, 2026
Merged

Add ZCCS config properties [DOC-768]#2265
mscwilson merged 2 commits into
mainfrom
zccs-properties

Conversation

@mscwilson

Copy link
Copy Markdown
Contributor

https://hazelcast.atlassian.net/browse/DOC-768

Lists the zero-config Compact serialisation filter properties.

For v5.7, CompactSerializationConfig.zeroConfigFilter is preferred - documented in #2264.

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

@k-jamroz

Copy link
Copy Markdown
Contributor

this branch targets main (5.8) but lacks backport to 5.7. what was the intention?

|`hazelcast.serialization.compact.blocklist.defaults`
|true
|bool
|Controls whether the default blocklist of known-problematic classes is applied for ZCCS.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

unfortunately this property is defaults not defaultsDisabled (like elsewhere) which is different that in config and possible source of mistakes. IMO worth highlighting this fact

|`hazelcast.serialization.compact.allowlist.classes`
|
|string
|Comma-separated list of fully qualified class names to allow for xref:serialization:compact-serialization.adoc[zero-config Compact serialization] (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

these properties are available in 5.7 onwards (TBD if we remove them in 6.0) only to allow easier upgrade from <5.7 versions with hardened config.
from 5.7 onwards zero-config-filter XML/YAML config should be recommended

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is why I didn't add the backport to 5.7 label initially, because the text needs to be different. now it occurs to me that I can just edit the backport PR to clarify this for 5.7

@mscwilson
mscwilson merged commit 6508edb into main Jul 28, 2026
3 checks passed
@mscwilson
mscwilson deleted the zccs-properties branch July 28, 2026 08:23
@github-actions

Copy link
Copy Markdown
Contributor

👍 Created #2268 to backport into v/5.4.

@github-actions

Copy link
Copy Markdown
Contributor

👍 Created #2269 to backport into v/5.5.

@github-actions

Copy link
Copy Markdown
Contributor

👍 Created #2270 to backport into v/5.6.

@github-actions

Copy link
Copy Markdown
Contributor

👍 Created #2271 to backport into v/5.7.

mscwilson added a commit that referenced this pull request Jul 28, 2026
Backport of #2265

https://hazelcast.atlassian.net/browse/DOC-768

Lists the zero-config Compact serialisation filter properties. 

For v5.7, `CompactSerializationConfig.zeroConfigFilter` is preferred -
documented in #2264.

Co-authored-by: Miranda Wilson <miranda.wilson@hazelcast.com>
mscwilson added a commit that referenced this pull request Jul 28, 2026
Backport of #2265

https://hazelcast.atlassian.net/browse/DOC-768

Lists the zero-config Compact serialisation filter properties. 

For v5.7, `CompactSerializationConfig.zeroConfigFilter` is preferred -
documented in #2264.

Co-authored-by: Miranda Wilson <miranda.wilson@hazelcast.com>
mscwilson added a commit that referenced this pull request Jul 28, 2026
Backport of #2265

https://hazelcast.atlassian.net/browse/DOC-768

Lists the zero-config Compact serialisation filter properties. 

For v5.7, `CompactSerializationConfig.zeroConfigFilter` is preferred -
documented in #2264.

Co-authored-by: Miranda Wilson <miranda.wilson@hazelcast.com>
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.

3 participants