akka cluster slave node not joining seed node -
i working akka distributed worker template available on typesafe. using write backend job takes data siebel using soap calls , inserts in mongo. job supposed run once week few hours.
based on cluster-usage , other documentation on akka website, imported akka-cluster.jar , configured application configuration file seed nodes (akka.cluster.seed-nodes). when start first node (master node) configuration mentioned (seed nodes etc), start getting errors on server console saying failed join seed node obvious (as first node , there nothing join). start second node akka.cluster.seed-nodes configured ip-address , port of process master node running. once again errors on server console.
now next - take first join address of master actor master node , set dynamically in slave node in code (construct address object , pass actors on slave node). works!!! if take same join address , configure in application configuration akka.cluster.seed-nodes, throws me error , slave doesn't join cluster.
so have following questions :- 1. how configure akka.cluster.seed-node configuration in application. never make work/count in configuration. 2. there way pre-configure seed nodes in configuration. per me trying out, looks configuration dynamic i.e. take join address of actor on master node logs , configure slave's seed-node configuration address ?
i've had similar problems result of mismatch between actor system name in seed nodes configuration , actual actor system name created in code.
Comments
Post a Comment