Getting processInstanceKey like 'XXXXXXXXXXXXXXXX'

I am trying to perform load test on workflow. I am using this client library to start the instance. Intermittently I am getting processInstanceKey=‘XXXXXXXXXXXXXXXX’ in response. What does it mean ? Request was failed to start instance or something else.

  1. I am using zeebe-spring starter library to start instance
  2. I am using self managed zeebe cluster

Hey @umesh_kushwaha

thanks for trying Zeebe. The keys you have observed are expected. In each key the partition id is encoded, which cause the key to look bigger. But essentially the first key is on a partition one plus encoding of the partition id. This makes it possible to generate unique keys in a Zeebe cluster, without collision between partitions.

Does this help?

For the exact calculation/encoding you can take a look here zeebe/Protocol.java at 684c3de1869db58163b51cd5c8474490b5363559 · camunda-cloud/zeebe · GitHub
Greets
Chris

Thanks for quick reply. It’s mean when we received ‘xxxxx’ instance key, instance started successfully. How we can decode to long. As most of the process instance key is long.

Hey @umesh not sure what you mean by that. The returned key is a long. What is the issue you facing could you post an example?

Hi Zelldon,

Let me simplify my question. Java zeebe client returned below response when fetched Jobs. In below response you can see some of the jobs have key as XXXXXXXXXXXXXXXX this is not a long value. Thats the reason our Jackson converter failed to convert into Object. I wanted to understand the root cause of this response. Co-relation keys are also different for jobs.

[{
“key”: XXXXXXXXXXXXXXXX,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: XXXXXXXXXXXXXXXX,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: XXXXXXXXXXXXXXXX,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: XXXXXXXXXXXXXXXX,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:c362dc90-1dd6-4cdb-8593-856118ccfd12”,“id”:“de9ffb01-656a-4762-9a4a-8f32785736c8”,“data”:{“content_uuid”:“4de9d9d2-0742-4611-9e91-1b8a91b4e236”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:01:14Z”,“content_id”:113348557,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.24545Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:c362dc90-1dd6-4cdb-8593-856118ccfd12”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:c362dc90-1dd6-4cdb-8593-856118ccfd12”,
“id”: “de9ffb01-656a-4762-9a4a-8f32785736c8”,
“data”: {
“content_uuid”: “4de9d9d2-0742-4611-9e91-1b8a91b4e236”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:01:14Z”,
“content_id”: 113348557,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.24545Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:c362dc90-1dd6-4cdb-8593-856118ccfd12”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: XXXXXXXXXXXXXXXX,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: XXXXXXXXXXXXXXXX,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: XXXXXXXXXXXXXXXX,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: XXXXXXXXXXXXXXXX,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:09b3b593-68ee-44da-9644-2e04e8190e96”,“id”:“2b05fcb4-192e-4889-b082-b72d760fbd5d”,“data”:{“content_uuid”:“09b3b593-68ee-44da-9644-2e04e8190e96”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:01:28Z”,“content_id”:113348565,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.245306Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:09b3b593-68ee-44da-9644-2e04e8190e96”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:09b3b593-68ee-44da-9644-2e04e8190e96”,
“id”: “2b05fcb4-192e-4889-b082-b72d760fbd5d”,
“data”: {
“content_uuid”: “09b3b593-68ee-44da-9644-2e04e8190e96”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:01:28Z”,
“content_id”: 113348565,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.245306Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:09b3b593-68ee-44da-9644-2e04e8190e96”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: XXXXXXXXXXXXXXXX,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: XXXXXXXXXXXXXXXX,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: XXXXXXXXXXXXXXXX,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: XXXXXXXXXXXXXXXX,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“id”:“ff170fbe-6d27-461d-be0e-8c2f2f912aed”,“data”:{“content_uuid”:“4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:58:55Z”,“content_id”:113348502,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.245954Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“id”: “ff170fbe-6d27-461d-be0e-8c2f2f912aed”,
“data”: {
“content_uuid”: “4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:58:55Z”,
“content_id”: 113348502,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.245954Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690870,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690658,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690802,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“id”:“ff170fbe-6d27-461d-be0e-8c2f2f912aed”,“data”:{“content_uuid”:“4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:58:55Z”,“content_id”:113348502,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.245954Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“id”: “ff170fbe-6d27-461d-be0e-8c2f2f912aed”,
“data”: {
“content_uuid”: “4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:58:55Z”,
“content_id”: 113348502,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.245954Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690943,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690670,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690872,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,“id”:“6f4831de-40f1-48f8-a2cc-f67aae7741ff”,“data”:{“content_uuid”:“a32bf169-257f-4bf3-b27b-643e164612ac”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:02:11Z”,“content_id”:113348590,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.264325Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,
“id”: “6f4831de-40f1-48f8-a2cc-f67aae7741ff”,
“data”: {
“content_uuid”: “a32bf169-257f-4bf3-b27b-643e164612ac”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:02:11Z”,
“content_id”: 113348590,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.264325Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690947,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690681,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690875,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690949,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690692,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690877,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690951,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690703,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690879,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813691009,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690714,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690918,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“id”:“8cfaa2e2-be27-44b3-8aca-89c64dbf20e8”,“data”:{“content_uuid”:“43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:03:02Z”,“content_id”:113348616,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.269182Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“id”: “8cfaa2e2-be27-44b3-8aca-89c64dbf20e8”,
“data”: {
“content_uuid”: “43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:03:02Z”,
“content_id”: 113348616,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.269182Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813691039,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690729,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690945,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:f5d8e728-1d0b-4b6c-916c-2b6a8ef4c30b”,“id”:“285b1c4d-0616-43dae-4623-a3a6-4f1ee5da0961”,“id”:“ff170fbe-6d27-461d-be0e-8c2f2f912aed”,“data”:{“content_uuid”:“4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:58:55Z”,“content_id”:113348502,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.245954Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“id”: “ff170fbe-6d27-461d-be0e-8c2f2f912aed”,
“data”: {
“content_uuid”: “4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:58:55Z”,
“content_id”: 113348502,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.245954Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690870,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690658,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690802,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“id”:“ff170fbe-6d27-461d-be0e-8c2f2f912aed”,“data”:{“content_uuid”:“4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:58:55Z”,“content_id”:113348502,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.245954Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“id”: “ff170fbe-6d27-461d-be0e-8c2f2f912aed”,
“data”: {
“content_uuid”: “4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:58:55Z”,
“content_id”: 113348502,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.245954Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:4c0594fb-6f2e-4623-a3a6-4f1ee5da0961”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690943,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690670,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690872,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,“id”:“6f4831de-40f1-48f8-a2cc-f67aae7741ff”,“data”:{“content_uuid”:“a32bf169-257f-4bf3-b27b-643e164612ac”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:02:11Z”,“content_id”:113348590,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.264325Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,
“id”: “6f4831de-40f1-48f8-a2cc-f67aae7741ff”,
“data”: {
“content_uuid”: “a32bf169-257f-4bf3-b27b-643e164612ac”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:02:11Z”,
“content_id”: 113348590,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.264325Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:a32bf169-257f-4bf3-b27b-643e164612ac”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690947,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690681,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690875,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690949,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690692,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690877,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813690951,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690703,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690879,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“id”:“460f14ba-36e1-4325-b05a-69abf6e76b2d”,“data”:{“content_uuid”:“95475f38-faf0-426c-bf08-5e2b986b826d”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T09:56:54Z”,“content_id”:113348435,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.188367Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“id”: “460f14ba-36e1-4325-b05a-69abf6e76b2d”,
“data”: {
“content_uuid”: “95475f38-faf0-426c-bf08-5e2b986b826d”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T09:56:54Z”,
“content_id”: 113348435,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.188367Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:e7be9d17-6915-4e3d-8dce-91486488829c”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}, {
“key”: 2251799813691009,
“type”: “sendMessage”,
“customHeaders”: {
“kafka-topic”: “save-content-to-s3-test”
},
“processInstanceKey”: 2251799813690714,
“bpmnProcessId”: “content-qc-qna-workflow”,
“processDefinitionVersion”: 4,
“processDefinitionKey”: 2251799813685728,
“elementId”: “Activity_1ipoxvc”,
“elementInstanceKey”: 2251799813690918,
“worker”: “kafka-connector”,
“retries”: 3,
“deadline”: 1643213306624,
“variables”: “{“contentCorrelation”:“crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“id”:“8cfaa2e2-be27-44b3-8aca-89c64dbf20e8”,“data”:{“content_uuid”:“43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“content_type”:“HTML_ONLY”,“content_created_date”:“2022-01-22T10:03:02Z”,“content_id”:113348616,“content_group_id”:20,“author_id”:4998204,“author_uuid”:“8a7ac54a-eca5-11e3-8c7d-021505f49f8a”},“time”:“2022-01-25T12:41:19.269182Z”,“type”:“com.chegg.board_answer_create”,“source”:”/service/expert-qna-service",“subject”:“crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,“dataschema”:"",“specversion”:“1.0”,“datacontenttype”:“application/json”}",
“variablesAsMap”: {
“contentCorrelation”: “crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“id”: “8cfaa2e2-be27-44b3-8aca-89c64dbf20e8”,
“data”: {
“content_uuid”: “43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“content_type”: “HTML_ONLY”,
“content_created_date”: “2022-01-22T10:03:02Z”,
“content_id”: 113348616,
“content_group_id”: 20,
“author_id”: 4998204,
“author_uuid”: “8a7ac54a-eca5-11e3-8c7d-021505f49f8a”
},
“time”: “2022-01-25T12:41:19.269182Z”,
“type”: “com.chegg.board_answer_create”,
“source”: “/service/expert-qna-service”,
“subject”: “crn:cs:answer:uuid:43b3caf4-2d1e-4a84-90f3-f6da8f235241”,
“dataschema”: “”,
“specversion”: “1.0”,
“datacontenttype”: “application/json”
}
}]

Hey @umesh_kushwaha

thanks for your response that sounds really odd. Could you please describe your setup, what kind of client and versions (broker and client) you’re using? Do you see that only on job activation or also on other requests?

Greets
Chris

Please find the libraries details in above image. I am using below two commands and both command response intermittently throwing the same response

  1. newActivateJobsCommand
  2. newCreateInstanceCommand

Find the zeebe cluster details below image.

Updated the spring-zeebe-starter version but still getting the same issue.
io.camunda:spring-zeebe-starter:1.3.0
io.camunda:spring-zeebe-util:1.3.0
io.camunda:spring-zeebe:1.3.0
io.camunda:zeebe-bpmn-model:1.3.0
io.camunda:zeebe-client-java:1.3.0
io.camunda:zeebe-gateway-protocol-impl:1.3.0
io.camunda:zeebe-gateway-protocol:1.3.0

Thanks @umesh_kushwaha for the update. Could you provide us a reproducer project? Currently not able to reproduce it. Or please share a bit more code details.

Greets
Chris

I am using kafka-connect-zeebe Open source repository. kafka-connect-zeebe/ZeebeSourceTaskFetcher.java at master · camunda-community-hub/kafka-connect-zeebe · GitHub

To create process instance, I am using below code snippet.


        @Autowired
    private ZeebeService zeebeService;

final ProcessInstanceEvent event = zeebeClient.newCreateInstanceCommand()
                .bpmnProcessId(zeebeProcessStarterConfig.getZeebeProcessDefinitionKey())
                .latestVersion()
                .variables(processVariables)
                .send()
                .join();
   log.info(
                "Started instance for processDefinitionKey='{}', bpmnProcessId='{}', version='{}' with processInstanceKey='{}'",
                event.getProcessDefinitionKey(), event.getBpmnProcessId(), event.getVersion(),
                event.getProcessInstanceKey());

Hi @Zelldon, I just had a brief discussion with @falko:

  1. This issue seemed to occur with spring-zeebe as well as kafka-connect-zeebe (so it can’t be in the Spring stack)
  2. The customer also said they saw this issue in the server log of the broker, so it seems not to be client library related

The obfuscation of Zeebe process ids was confirmed to be because of logging infrastructure: New Relic's log management security and privacy | New Relic Documentation

1 Like