java-sdk
java-sdk copied to clipboard
How to store a state with a metadata like ttlInSeconds
Ask your question here
The parameter 'metadata' doesn't exist in the parameters of method 'savaStates'.
Mono<Void> saveState(String storeName, String key, Object value);
Mono<Void> saveState(String storeName, String key, String etag, Object value, StateOptions options);
I think you should be able to do that by using setMetadata(key,value) on your request