Migration from Camunda 7 to Camunda8

Hii,
Our application is using camunda 7 and it is written in Java 11, Now we want to migrate to Camunda 8. Our codebase is large and with camunda 7 we had written Java Delegates and currently we are using it .Now for migration I have found out there are two things which we can do, First write Java workers or can use camunda 7 adapter and use previous delegates.

I have two question in mind.
2) for migrating to Camunda8 by using this camunda7Adapter , do we also need to upgrade our Java version of application from 11 to 17 or 21?

  1. Whats the best recommended way for Migration using this camunda 7 adapter or replacing that Jaba Delegates with Job Workers?

  2. For migrating to Camunda8 by using this camunda 7 adapter , do we also need to upgrade our Java version of application (where we have written delegates) from 11 to 17 or 21 ?

Thanks

Hi @Ansh_Kumar

  1. I would say it depends on your intention. In the end it would be better to directly use job workers, but to accelerate the process of the migration the adapter could be used. It would enable you to migrate faster and then replace your service tasks later on with job workers.
  2. If you use the camunda-7-adapter from here camunda-7-to-8-migration/camunda-7-adapter/readme.md at e9f675261144debe05ad851ccd9777de5958f8cf · camunda-community-hub/camunda-7-to-8-migration · GitHub, then that is compiled with Java17 meaning you have to use that as well. The same holds true for the newer versions of the spring zeebe client (GitHub - camunda-community-hub/spring-zeebe: Easily use the Zeebe Java Client in your Spring or Spring Boot projects).
    If you directly use the zeebe java client, then I think that is compiled with Java 8 allowing you to also use that Java version.
2 Likes

So if i want to use camundaAdapter i have to change my existing codebase java version from 11 to 17. Have i understood it correctly or not? @rohwerj

No. You can leave your codebase as is. You just have to use a Java 17 for the runtime.
It can also run your code, that’s compiled with Java 11.