Giter Club home page Giter Club logo

Comments (1)

Zelldon avatar Zelldon commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.