Table of Contents |
---|
Status
Current state: Under DiscussionAccepted
Discussion thread: https://lists.apache.org/thread/lxfq8y8co76mjwxhowwx6cjl0hw1mxpy
JIRA:
Jira | ||||||
---|---|---|---|---|---|---|
|
Release: 3.5.0
Motivation
...
Add a configuration to JsonConverter:
Name: replace.optional.null.with.default
Description: Whether to replace fields that have a default value and that are null to the default value. When set to true, the default value is used, otherwise null is used.
Type: Boolean
Default: true
...
Update JsonConverter and JsonConverterConfig to handle the new configuration. It will affect serialization when the converter runs in a source pipeline and deserialization in sink pipelines.
Compatibility, Deprecation, and Migration Plan
...
Rejected Alternatives
null
on an optional anull