Id like to be able to disable default Java serialization via global property or command line flag
#11,925 opened on Dec 6, 2017
Description
Id like to be able to report on usages of default Java serialization and, separately, completely disable Java serialization within my HZ cluster via a command line flag and/or config property. Being able to report on usages of it would be helpful to teams in implementing more efficient serialization mechanisms - so perhaps report only the first instance of a specific class being serialized using the default mechanism so as not to spam the logs (store the seen class names in a Set<>). Ultimately, Id like to disable it completely so that new code doesn't accidentally utilize the default serialization mechanism. There's a workaround if I provide my own custom Global serializer, but I'd like this out of the box since toggling a flag is much easier to do on site than providing custom code and having it deployed.