You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pekko.apache.org by Sharath Reddy <sh...@gmail.com> on 2024/06/18 06:15:15 UTC
Migrating from Akka to Pekko with JDK 17 Compatibility
Hello Pekko Community,
We are currently using Akka 2.6.x and planning to migrate to Pekko.
However, we've encountered an issue: **pekko-management** doesn't yet
support JDK 17. We'd appreciate any insights or workarounds from the
community.
1. **Current Setup**:
- Akka version: 2.6.x
- JDK: 17
2. **Questions**:
- Has anyone successfully migrated from Akka to Pekko with JDK 17?
- Are there any known compatibility issues?
- Is there a recommended approach for handling this situation?
Any advice, experiences, or pointers would be greatly appreciated!
Thank you,
Sharath
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by kerr <he...@gmail.com>.
I'm currently using Pekko-stream at work with Java 21, it works but you
need the --add-opens etc things.
何品
kerr <he...@gmail.com> 于2024年6月18日周二 17:34写道:
> What do you mean it doesn't support Java 17?
>
> 何品
>
>
> PJ Fanning <fa...@gmail.com> 于2024年6月18日周二 17:24写道:
>
>> Hi Sharath,
>> We don't run CI testing for Java 17. At the same time, the Java team
>> are very careful about compatibility in their releases.
>> Have you tried running with Java 17? If not, could you try? If you
>> find some issues, could you report them as bugs?
>>
>> Regards,
>> PJ
>>
>> On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
>> <sh...@gmail.com> wrote:
>> >
>> > Hello Pekko Community,
>> >
>> > We are currently using Akka 2.6.x and planning to migrate to Pekko.
>> > However, we've encountered an issue: **pekko-management** doesn't yet
>> > support JDK 17. We'd appreciate any insights or workarounds from the
>> > community.
>> >
>> > 1. **Current Setup**:
>> > - Akka version: 2.6.x
>> > - JDK: 17
>> >
>> > 2. **Questions**:
>> > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
>> > - Are there any known compatibility issues?
>> > - Is there a recommended approach for handling this situation?
>> >
>> > Any advice, experiences, or pointers would be greatly appreciated!
>> >
>> > Thank you,
>> > Sharath
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
>> For additional commands, e-mail: dev-help@pekko.apache.org
>>
>>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by Nicolas Vollmar <nv...@gmail.com>.
We're running Pekko with Pekko Management in Kubernetes on OpenJDK 21
(previously 17) without issues.
On Tue, 18 Jun 2024 at 13:03, Sharath Reddy <
sharath.reddy.boyapally@gmail.com> wrote:
> Hi Kerr,
>
> I mean that the JDK versions supported by Pekko Management do not include
> OpenJDK 17.
> Apache Pekko Management · Apache Pekko Management
> <
> https://pekko.apache.org/docs/pekko-management/current/pekko-management.html#project-info
> >
>
>
> On Tue, Jun 18, 2024 at 3:04 PM kerr <he...@gmail.com> wrote:
>
> > What do you mean it doesn't support Java 17?
> >
> > 何品
> >
> >
> > PJ Fanning <fa...@gmail.com> 于2024年6月18日周二 17:24写道:
> >
> > > Hi Sharath,
> > > We don't run CI testing for Java 17. At the same time, the Java team
> > > are very careful about compatibility in their releases.
> > > Have you tried running with Java 17? If not, could you try? If you
> > > find some issues, could you report them as bugs?
> > >
> > > Regards,
> > > PJ
> > >
> > > On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> > > <sh...@gmail.com> wrote:
> > > >
> > > > Hello Pekko Community,
> > > >
> > > > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > > > However, we've encountered an issue: **pekko-management** doesn't yet
> > > > support JDK 17. We'd appreciate any insights or workarounds from the
> > > > community.
> > > >
> > > > 1. **Current Setup**:
> > > > - Akka version: 2.6.x
> > > > - JDK: 17
> > > >
> > > > 2. **Questions**:
> > > > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > > > - Are there any known compatibility issues?
> > > > - Is there a recommended approach for handling this situation?
> > > >
> > > > Any advice, experiences, or pointers would be greatly appreciated!
> > > >
> > > > Thank you,
> > > > Sharath
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> > > For additional commands, e-mail: dev-help@pekko.apache.org
> > >
> > >
> >
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by Sharath Reddy <sh...@gmail.com>.
Hi Kerr,
I mean that the JDK versions supported by Pekko Management do not include
OpenJDK 17.
Apache Pekko Management · Apache Pekko Management
<https://pekko.apache.org/docs/pekko-management/current/pekko-management.html#project-info>
On Tue, Jun 18, 2024 at 3:04 PM kerr <he...@gmail.com> wrote:
> What do you mean it doesn't support Java 17?
>
> 何品
>
>
> PJ Fanning <fa...@gmail.com> 于2024年6月18日周二 17:24写道:
>
> > Hi Sharath,
> > We don't run CI testing for Java 17. At the same time, the Java team
> > are very careful about compatibility in their releases.
> > Have you tried running with Java 17? If not, could you try? If you
> > find some issues, could you report them as bugs?
> >
> > Regards,
> > PJ
> >
> > On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> > <sh...@gmail.com> wrote:
> > >
> > > Hello Pekko Community,
> > >
> > > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > > However, we've encountered an issue: **pekko-management** doesn't yet
> > > support JDK 17. We'd appreciate any insights or workarounds from the
> > > community.
> > >
> > > 1. **Current Setup**:
> > > - Akka version: 2.6.x
> > > - JDK: 17
> > >
> > > 2. **Questions**:
> > > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > > - Are there any known compatibility issues?
> > > - Is there a recommended approach for handling this situation?
> > >
> > > Any advice, experiences, or pointers would be greatly appreciated!
> > >
> > > Thank you,
> > > Sharath
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> > For additional commands, e-mail: dev-help@pekko.apache.org
> >
> >
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by kerr <he...@gmail.com>.
What do you mean it doesn't support Java 17?
何品
PJ Fanning <fa...@gmail.com> 于2024年6月18日周二 17:24写道:
> Hi Sharath,
> We don't run CI testing for Java 17. At the same time, the Java team
> are very careful about compatibility in their releases.
> Have you tried running with Java 17? If not, could you try? If you
> find some issues, could you report them as bugs?
>
> Regards,
> PJ
>
> On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> <sh...@gmail.com> wrote:
> >
> > Hello Pekko Community,
> >
> > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > However, we've encountered an issue: **pekko-management** doesn't yet
> > support JDK 17. We'd appreciate any insights or workarounds from the
> > community.
> >
> > 1. **Current Setup**:
> > - Akka version: 2.6.x
> > - JDK: 17
> >
> > 2. **Questions**:
> > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > - Are there any known compatibility issues?
> > - Is there a recommended approach for handling this situation?
> >
> > Any advice, experiences, or pointers would be greatly appreciated!
> >
> > Thank you,
> > Sharath
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> For additional commands, e-mail: dev-help@pekko.apache.org
>
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by Christian Nedregård <ch...@greenbird.com.INVALID>.
We did the Akka -> Pekko and Java 11 -> 17 migration big bang in the fall of 2023.
Had zero issues related to Pekko. We are using a bunch of Pekko modules (33 on last count), including several management modules.
Chr
On 18/06/2024, 11:24, "PJ Fanning" <fanningpj@gmail.com <ma...@gmail.com>> wrote:
Hi Sharath,
We don't run CI testing for Java 17. At the same time, the Java team
are very careful about compatibility in their releases.
Have you tried running with Java 17? If not, could you try? If you
find some issues, could you report them as bugs?
Regards,
PJ
On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
<sharath.reddy.boyapally@gmail.com <ma...@gmail.com>> wrote:
>
> Hello Pekko Community,
>
> We are currently using Akka 2.6.x and planning to migrate to Pekko.
> However, we've encountered an issue: **pekko-management** doesn't yet
> support JDK 17. We'd appreciate any insights or workarounds from the
> community.
>
> 1. **Current Setup**:
> - Akka version: 2.6.x
> - JDK: 17
>
> 2. **Questions**:
> - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> - Are there any known compatibility issues?
> - Is there a recommended approach for handling this situation?
>
> Any advice, experiences, or pointers would be greatly appreciated!
>
> Thank you,
> Sharath
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org <ma...@pekko.apache.org>
For additional commands, e-mail: dev-help@pekko.apache.org <ma...@pekko.apache.org>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by kerr <he...@gmail.com>.
I need this when running with JDK21
何品
Christian Nedregård <ch...@greenbird.com.invalid>
于2024年6月19日周三 16:29写道:
> Running on Java 17, using the Pekko modules listed below, we do not have
> to add any --add-exports or --add-opens for things to work.
>
> actor
> actor-typed
> cluster
> cluster-metrics
> cluster-sharding
> cluster-tools
> cluster-typed
> connectors-cassandra
> coordination
> discovery
> discovery-kubernetes-api
> distributed-data
> http
> http-core
> http-jackson
> http-spray-json
> management
> management-cluster-bootstrap
> management-cluster-http
> management-pki
> parsing
> persistence
> persistence-cassandra
> persistence-jdbc
> persistence-query
> persistence-tck
> pki
> protobuf-v3
> remote
> slf4j
> stream
> testkit
>
> Chr
>
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by Christian Nedregård <ch...@greenbird.com.INVALID>.
Running on Java 17, using the Pekko modules listed below, we do not have to add any --add-exports or --add-opens for things to work.
actor
actor-typed
cluster
cluster-metrics
cluster-sharding
cluster-tools
cluster-typed
connectors-cassandra
coordination
discovery
discovery-kubernetes-api
distributed-data
http
http-core
http-jackson
http-spray-json
management
management-cluster-bootstrap
management-cluster-http
management-pki
parsing
persistence
persistence-cassandra
persistence-jdbc
persistence-query
persistence-tck
pki
protobuf-v3
remote
slf4j
stream
testkit
Chr
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by kerr <he...@gmail.com>.
The only issue is we need something like these:
hope this help you
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens java.base/java.util.regex=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports java.base/sun.net.www.protocol.https=ALL-UNNAMED
--add-exports java.base/sun.util.calendar=ALL-UNNAMED
--add-exports java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/sun.net.util=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/sun.security.action=ALL-UNNAMED
--add-opens java.management/sun.management=ALL-UNNAMED
--add-opens java.sql/java.sql=ALL-UNNAMED
何品
PJ Fanning <fa...@gmail.com> 于2024年6月18日周二 21:02写道:
> I've added Java 17 and 21 testing and only 1 minor testing issue with
> mockito was found that is easily worked around.
>
> Nicolas and Chris have also replied on this thread confirming that
> pekko-management works ok in Java 17.
>
>
> On Tue, 18 Jun 2024 at 12:14, Sharath Reddy
> <sh...@gmail.com> wrote:
> >
> > Hi PJ,
> >
> > Currently, we are using Akka and JDK 17.
> > We had planned to migrate to Pekko only if it supports JDK 17, so we
> might
> > not be able to try and test it at this time.
> >
> > Regards,
> > Sharath.
> >
> > On Tue, Jun 18, 2024 at 2:54 PM PJ Fanning <fa...@gmail.com> wrote:
> >
> > > Hi Sharath,
> > > We don't run CI testing for Java 17. At the same time, the Java team
> > > are very careful about compatibility in their releases.
> > > Have you tried running with Java 17? If not, could you try? If you
> > > find some issues, could you report them as bugs?
> > >
> > > Regards,
> > > PJ
> > >
> > > On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> > > <sh...@gmail.com> wrote:
> > > >
> > > > Hello Pekko Community,
> > > >
> > > > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > > > However, we've encountered an issue: **pekko-management** doesn't yet
> > > > support JDK 17. We'd appreciate any insights or workarounds from the
> > > > community.
> > > >
> > > > 1. **Current Setup**:
> > > > - Akka version: 2.6.x
> > > > - JDK: 17
> > > >
> > > > 2. **Questions**:
> > > > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > > > - Are there any known compatibility issues?
> > > > - Is there a recommended approach for handling this situation?
> > > >
> > > > Any advice, experiences, or pointers would be greatly appreciated!
> > > >
> > > > Thank you,
> > > > Sharath
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> > > For additional commands, e-mail: dev-help@pekko.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> For additional commands, e-mail: dev-help@pekko.apache.org
>
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by PJ Fanning <fa...@gmail.com>.
I've added Java 17 and 21 testing and only 1 minor testing issue with
mockito was found that is easily worked around.
Nicolas and Chris have also replied on this thread confirming that
pekko-management works ok in Java 17.
On Tue, 18 Jun 2024 at 12:14, Sharath Reddy
<sh...@gmail.com> wrote:
>
> Hi PJ,
>
> Currently, we are using Akka and JDK 17.
> We had planned to migrate to Pekko only if it supports JDK 17, so we might
> not be able to try and test it at this time.
>
> Regards,
> Sharath.
>
> On Tue, Jun 18, 2024 at 2:54 PM PJ Fanning <fa...@gmail.com> wrote:
>
> > Hi Sharath,
> > We don't run CI testing for Java 17. At the same time, the Java team
> > are very careful about compatibility in their releases.
> > Have you tried running with Java 17? If not, could you try? If you
> > find some issues, could you report them as bugs?
> >
> > Regards,
> > PJ
> >
> > On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> > <sh...@gmail.com> wrote:
> > >
> > > Hello Pekko Community,
> > >
> > > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > > However, we've encountered an issue: **pekko-management** doesn't yet
> > > support JDK 17. We'd appreciate any insights or workarounds from the
> > > community.
> > >
> > > 1. **Current Setup**:
> > > - Akka version: 2.6.x
> > > - JDK: 17
> > >
> > > 2. **Questions**:
> > > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > > - Are there any known compatibility issues?
> > > - Is there a recommended approach for handling this situation?
> > >
> > > Any advice, experiences, or pointers would be greatly appreciated!
> > >
> > > Thank you,
> > > Sharath
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> > For additional commands, e-mail: dev-help@pekko.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
For additional commands, e-mail: dev-help@pekko.apache.org
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by Sharath Reddy <sh...@gmail.com>.
Hi PJ,
Currently, we are using Akka and JDK 17.
We had planned to migrate to Pekko only if it supports JDK 17, so we might
not be able to try and test it at this time.
Regards,
Sharath.
On Tue, Jun 18, 2024 at 2:54 PM PJ Fanning <fa...@gmail.com> wrote:
> Hi Sharath,
> We don't run CI testing for Java 17. At the same time, the Java team
> are very careful about compatibility in their releases.
> Have you tried running with Java 17? If not, could you try? If you
> find some issues, could you report them as bugs?
>
> Regards,
> PJ
>
> On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
> <sh...@gmail.com> wrote:
> >
> > Hello Pekko Community,
> >
> > We are currently using Akka 2.6.x and planning to migrate to Pekko.
> > However, we've encountered an issue: **pekko-management** doesn't yet
> > support JDK 17. We'd appreciate any insights or workarounds from the
> > community.
> >
> > 1. **Current Setup**:
> > - Akka version: 2.6.x
> > - JDK: 17
> >
> > 2. **Questions**:
> > - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> > - Are there any known compatibility issues?
> > - Is there a recommended approach for handling this situation?
> >
> > Any advice, experiences, or pointers would be greatly appreciated!
> >
> > Thank you,
> > Sharath
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
> For additional commands, e-mail: dev-help@pekko.apache.org
>
>
Re: Migrating from Akka to Pekko with JDK 17 Compatibility
Posted by PJ Fanning <fa...@gmail.com>.
Hi Sharath,
We don't run CI testing for Java 17. At the same time, the Java team
are very careful about compatibility in their releases.
Have you tried running with Java 17? If not, could you try? If you
find some issues, could you report them as bugs?
Regards,
PJ
On Tue, 18 Jun 2024 at 07:15, Sharath Reddy
<sh...@gmail.com> wrote:
>
> Hello Pekko Community,
>
> We are currently using Akka 2.6.x and planning to migrate to Pekko.
> However, we've encountered an issue: **pekko-management** doesn't yet
> support JDK 17. We'd appreciate any insights or workarounds from the
> community.
>
> 1. **Current Setup**:
> - Akka version: 2.6.x
> - JDK: 17
>
> 2. **Questions**:
> - Has anyone successfully migrated from Akka to Pekko with JDK 17?
> - Are there any known compatibility issues?
> - Is there a recommended approach for handling this situation?
>
> Any advice, experiences, or pointers would be greatly appreciated!
>
> Thank you,
> Sharath
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pekko.apache.org
For additional commands, e-mail: dev-help@pekko.apache.org