The data being received from the stream should be aggregated at the Daily and Monthly level.
With the following version in consideration (but includes branch with return type of array):
https://kafka.apache.org/0101/javadoc/org/apache/kafka/streams/kstream/KStream.html
How can we use the transform method to perform both? Essentially, the Daily aggregation should first be complete prior to performing Month to date aggregation.