Since Nakadi version 2.8.1 event types have now support for log
compaction. See the API for more details.
Log compacted event types must specify an option compact cleanup
policy during creation. All events from log compacted event types must
contain metadata.partition_compaction_key in order for Nakadi to
perform compaction.
Events sent to event types that are not log compacted should not have metadata.partition_compaction_key in their metadata. That would cause rejection of events.
I understood that gson omits null values by default but I couldn't find tests for marshalling objects into bytes.
Since Nakadi version 2.8.1 event types have now support for log compaction. See the API for more details.
Log compacted event types must specify an option
compact
cleanup policy during creation. All events from log compacted event types must containmetadata.partition_compaction_key
in order for Nakadi to perform compaction.Events sent to event types that are not log compacted should not have
metadata.partition_compaction_key
in their metadata. That would cause rejection of events.I understood that gson omits null values by default but I couldn't find tests for marshalling objects into bytes.