Expected Behavior
Today the only way to pass metadata into a save state call is to use the bulkSaveState method, considering the following method sets the metadata to null:
https://github.com/dapr/java-sdk/blob/master/sdk/src/main/java/io/dapr/client/AbstractDaprClient.java#L503
Actual Behavior
I would expect there to be a method with a saveState option to pass it metadata like in go: https://github.com/dapr/go-sdk/blob/main/client/state.go#L279
Release Note
RELEASE NOTE: FIX Pass metadata in saveState.