How to cleanup the JdbcMetadataStore?
问题 Initially our flow of cimmunicating with google Pub/Sub was so: Application accepts message Checks that it doesn't exist in idempotencyStore 3.1 If doesn't exist - put it into idempotency store (key is a value of unique header, value is a current timestamp) 3.2 If exist - just ignore this message When processing is finished - send acknowledge In the acknowledge successfull callback - remove this msg from metadatastore The point 5 is wrong because theoretically we can get duplicated message