apache / pekko-samples

Apache Pekko Sample Projects
https://pekko.apache.org/
Apache License 2.0
42 stars 21 forks source link

Issue 286: migrate cluster k8s java #38

Closed sam-byng closed 1 year ago

sam-byng commented 1 year ago

https://github.com/apache/incubator-pekko/issues/286

This MR copies the files from https://github.com/akka/akka-sample-cluster-kubernetes-java and converts them to pekko.

sam-byng commented 1 year ago

Issue fixed:

$  kubectl logs appka-54c88575f4-2hmp8 | grep MemberUp
[2023-04-25 16:06:12,996] [INFO] [org.apache.pekko.cluster.bootstrap.demo.DemoApp$MemberEventLogger] [] [Appka-pekko.actor.default-dispatcher-11] - MemberEvent: MemberUp(Member(pekko://Appka@10.244.0.121:17355, Up)) MDC: {sourceActorSystem=Appka, pekkoAddress=pekko://Appka@10.244.0.123:17355, pekkoSource=pekko://Appka/user/listener}
[2023-04-25 16:06:14,079] [INFO] [org.apache.pekko.cluster.bootstrap.demo.DemoApp$MemberEventLogger] [] [Appka-pekko.actor.default-dispatcher-15] - MemberEvent: MemberUp(Member(pekko://Appka@10.244.0.122:17355, Up)) MDC: {sourceActorSystem=Appka, pekkoAddress=pekko://Appka@10.244.0.123:17355, pekkoSource=pekko://Appka/user/listener}
[2023-04-25 16:06:14,088] [INFO] [org.apache.pekko.cluster.bootstrap.demo.DemoApp$MemberEventLogger] [] [Appka-pekko.actor.default-dispatcher-12] - MemberEvent: MemberUp(Member(pekko://Appka@10.244.0.123:17355, Up)) MDC: {sourceActorSystem=Appka, pekkoAddress=pekko://Appka@10.244.0.123:17355, pekkoSource=pekko://Appka/user/listener}
sam-byng commented 1 year ago

waiting for https://github.com/apache/incubator-pekko-samples/pull/37 to go in