krasserm / akka-persistence-kafka

A replicated Akka Persistence journal backed by Apache Kafka
Apache License 2.0
201 stars 59 forks source link

persistence with clustering #33

Open dantodor opened 8 years ago

dantodor commented 8 years ago

Has anyone tried to use this in conjunction with clustering ? I implemented a simple cluster singleton with persistence and a client. When I run the system without persistence, works like a charm. When I run it with persistence enabled and LevelDB, Cassandra or Couchbase backands, also works. When I run it with Kafka persistence enabled, somehow the actors cannot communicate anymore. Gossip protocol still works, but the messages sent from the client ( simple case objects ) are not reaching the singleton anymore. My guess is that somehow kafka persistence is interfering with message serialization, but I don't really understand how ... has anyone has had similar experiences ? Thank you!

krasserm commented 8 years ago

Have you properly overridden all localhost settings in https://github.com/krasserm/akka-persistence-kafka/blob/master/src/main/resources/reference.conf ?