-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processes/Deployments are not imported #424
Comments
I can confirm that Simple monitor 2.3.0 fails to integrate with Camunda 8.2.0 and shows empty list for the Processes tab. Camunda operate works as expected and shows deployed processes. I would be grateful if you could fix this. I installed Simple monitor 2.3.0 in Docker with Camunda 8.2.0 composed from docker-compose.yaml augmented with the following lines to activate Hazelcast:
Docker log from Simple monitor container is provided below:
|
Same problem for us. New process definitions are imported into ZSM database. |
@Benjoyo We are having the same problem, and I would like to implement the fix you came up with. Are you able to do a pull request? Or perhaps give us some pointers here on how and where to deploy the code in your comment. We use docker to run Zeebe+Hazelcast connector. I'm assuming that's where the code changes are that you made, rather than in the simple_monitor? Thank you |
Importing the process records is correct. There is no need to import the deployment records. Previously, the simple monitor imported the deployment records but that was changed by #250. Zeebe writes (and exports) a new process record when a new BPMN process is deployed. But it doesn't write a process record if the process didn't change compared to the previous version. If a try to deploy a process with simple monitor version
The issue seems to be related to the Hazelcast exporter/connector. If I change the Hazelcast exporter version to I guess that I need to release a new version of the simple monitor with an updated Hazelcast importer. Until then, I recommend using the Hazelcast version |
I built a new release: 2.4.0 🏗️ With the new version, I can't reproduce the issue anymore 🎉 |
Using 2.4.0 (I got confused there - in your comment it says 1.4.0, but it links to 2.4.0 so hopefully that is correct) with zeebe-with-hazelcast-exporter:8.0.5 docker image, I now get the following error: Error: Diagram rendering: Error: required args <xml=string> No errors show up in the console of the app itself |
@qume I tried to reproduce the issue but it's working for me. I used the following
|
Thanks for the docker-compose. I had the same issue after using it, so dug deeper and found the issue was related to my bpmn model. Other models run fine. The model which fails loads fine with no errors in Camunda Modeller. Perhaps if there is an error like the one displayed, there is more info available which could be logged to the console? I'm not familiar with the BPMN renderer so unsure if it's the case |
Yes. Currently, the errors from the BPMN renderer are only logged in the browser console. It could be nice to show these errors on the page 😅 |
I am running simple monitor 2.3.0 with Zeebe 1.4.0-alpha2 and deploy my processes using the Python API (which works, because instances show up and respond to commands).
Problem: the Processes tab and diagram visualization under Instances are broken for me.
I debugged this and the reason is that there are no
ProcessRecord
s consumed at all (by the Hazelcast connector). I am not sure what this record is supposed to be, because I can't seem to find a corresponding RecordValue inio.camunda.zeebe.protocol.record.value
. What I found however, and also seems more natural to me given theProcessEntity
's fields, is aDeploymentRecord
which I also saw the Hazelcast connector consume when I deploy a process.. So as a test I implemented an Importer like so:... and everything works as expected.
Do you have an explanation for this? Is it my Zeebe version? Why do you use ProcessRecord as opposed to DeploymentRecord and where is the counterpart in Zeebe?
The text was updated successfully, but these errors were encountered: