Spec containing Granularity configs for Auto Compaction.
This class mimics JSON field names for fields supported in auto compaction with
the corresponding fields in
GranularitySpec.
This is done for end-user ease of use. Basically, end-user will use the same syntax / JSON structure to set
Granularity configs for Auto Compaction as they would for any other ingestion task.
Note that this class is not the same as
GranularitySpec. This class simply holds Granularity configs
and pass it to compaction task spec. This class does not do bucketing, group events or knows how to partition data.