Feature Request P2
Status Update
Comments
cl...@google.com <cl...@google.com> #2
Hi,
Product team is now aware of your feature request and any notifications will be on this thread, thank you for your feedback!
Description
Please describe your requested enhancement. Good feature requests will solve common problems or enable new use cases.
What you would like to accomplish:
Since Pub/Sub Lite has a lot in common with Kafka and how it's working under the hood, it would be nice to have something that would allow for keeping only the latest message for a given key (this in case the messages are keyed). Same as log compaction that it exists in Kafka
How this might work:
At the topic creation provide a way to only keep the latest message per key.
If applicable, reasons why alternative solutions are not sufficient:
Other information (workarounds you have tried, documentation consulted, etc):
This is not supported at the moment.