Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options to specify the key type or the key serializer to be used when executing a keyed interactive query #18

Open
fhussonnois opened this issue Dec 5, 2019 · 0 comments
Labels
type:enhancement New feature or request

Comments

@fhussonnois
Copy link
Member

Currently, there is no way to specifiy the type of key used to query a state store. We get the default configured key serializer and fallback to the StringSerializer otherwise.

We should support two additionals query options:

  • key_type: The type of the key.
    This option should be optional. The valid values are : [STRING, INT, LONG, UUID]. The value is used to infer the corresponding Serializer.

  • key_serializer:The serializer to be used for serializing the given key.
    This option should be optional.

When a state store is queried, only one of these options should be used.

@fhussonnois fhussonnois added the type:enhancement New feature or request label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant