There is currently no easy way to debug a Samza job when there are problems with the state store data. It would be nice to provide a tool that will:
- Connect to a local KV state store, and dump its content.
- Consume a changelog to and materialize a state store locally.
Optionally, it would be nice to allow users to fetch values for a give key via a REPL. This is a little tricky, though, since the key might be serialized in Protobu, Avro, etc.
Between 1-2, users will be able to inspect local stores of jobs that are running (1), and create a local copy of a state store for jobs that have lost their local state already (2).