Comments (1)
I think you can do this now:
E.g you can print the general data (and count of keys in the cf's)
$ zdb state -p ~/incident/2023-01-03/1/runtime/
{"DEFAULT":1,"KEY":1,"PROCESS_VERSION":1,"PROCESS_CACHE":5,"PROCESS_CACHE_BY_ID_AND_VERSION":5,"PROCESS_CACHE_DIGEST_BY_ID":1,"ELEMENT_INSTANCE_PARENT_CHILD":73333,"ELEMENT_INSTANCE_KEY":73333,"NUMBER_OF_TAKEN_SEQUENCE_FLOWS":2,"ELEMENT_INSTANCE_CHILD_PARENT":73333,"VARIABLES":4,"JOBS":70456,"JOB_STATES":70456,"JOB_ACTIVATABLE":70456,"INCIDENTS":1298,"INCIDENT_PROCESS_INSTANCES":1298,"EVENT_SCOPE":70456,"EXPORTER":2}
And then specify like:
$ zdb state -p ~/incident/2023-01-03/1/runtime/ list -cf JOBS
{"data":[
{"cf":"JOBS","key":"00 00 00 00 00 00 00 10 00 08 00 00 00 00 8c 53","value":{"jobRecord":{"deadline":-1,"worker":"","retries":1,"retryBackoff":0,"recurringTime":-1,"type":"io.camunda.zeebe:userTask","customHeaders":{},"variables":"gA==","errorMessage":"","errorCode":"","bpmnProcessId":"Process_372fbfc7-9a4a-4f0b-aee5-bd96ed3e3e5d","processDefinitionVersion":4,"processDefinitionKey":2251799813686656,"processInstanceKey":2251799813686738,"elementId":"Activity_0vhm20h","elementInstanceKey":2251799813720652}}},
{"cf":"JOBS","key":"00 00 00 00 00 00 00 10 00 08 00 00 00 00 8c 54","value":{"jobRecord":{"deadline":-1,"worker":"","retries":1,"retryBackoff":0,"recurringTime":-1,"type":"io.camunda.zeebe:userTask","customHeaders":{},"variables":"gA==","errorMessage":"","errorCode":"","bpmnProcessId":"Process_372fbfc7-9a4a-4f0b-aee5-bd96ed3e3e5d","processDefinitionVersion":4,"processDefinitionKey":2251799813686656,"processInstanceKey":2251799813686738,"elementId":"Activity_0vhm20h","elementInstanceKey":2251799813720660}}},
...
from zdb.
Related Issues (20)
- OOM when printing the log
- Document new format flag HOT 1
- README issue HOT 1
- README issue HOT 1
- Support a filter for printed log records HOT 4
- Update dependencies to support new Zeebe ErrorType HOT 1
- ZDB breaks upon unknown ErrorType HOT 1
- Do not deserialize records HOT 2
- Output instance entity current state
- why do you use Zeebe
- Position of flags should not be break a command
- Improve test coverage HOT 1
- Support for empty log segments HOT 3
- zdb 2.0.0 failed to read raft log from version 8.2.* HOT 5
- Rejection information is missing during log print
- BrokerVersion is not correctly read
- Annoying log on zdb output HOT 1
- Ephemeral container debug is not working for 8.3.x HOT 4
- Reduze jar size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zdb.