Skip to content

Add ZCCS config properties [DOC-768]#2265

Open
mscwilson wants to merge 1 commit into
mainfrom
zccs-properties
Open

Add ZCCS config properties [DOC-768]#2265
mscwilson wants to merge 1 commit 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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants