Data_encoding in Temporal server with PGSQL driver

Hi there,

I wonder if it is possible to configure temporal to store json in the db instead of proto3, I would like to peak into the data on my local dev environment.

Is there such a. way, or perhaps an “easy” way to decode the data from proto3 to human readable format.

@tihomir Maybe you have some wisdom about this?

Thanks in advance, regards, Frank

possible to configure temporal to store json in the db instead of proto3

It’s not possible.

You can decode any payload via tctl for example see
tctl adm decode proto -h

just note that event history for execution is not written in single row, it can span multiple rows of history_node table

why not use GetWorkflowExecutionHistory api or use cli
temporal workflow show -h
or tctl workflow show -h