Open rodesai opened 6 years ago
Another idea as I was proposing for this issue, is to piggy back on KIP-159 to add an overloaded function of
StreamsBuilder.table(topic, context, mapper)
That it returns a new value from the mapper
in which it can access the record context
that returns the timestamp. It is similar to the transformValues
idea above.
Currently, KSQL creates a KTable for a Table source by:
This has a few problems:
Longer term, it would be nice to add apis to Kafka Streams that KSQL can leverage to solve the above. Some ideas: