Re: [akka-user] akka.actor.warn-about-java-serializer-usage Warning keep coming even when Default Java Serialization is not used

2017-04-15 Thread Patrik Nordwall
Which Akka version?
Perhaps you see the issue with serialize-messages=on, which we have an
improvement in progress for https://github.com/akka/akka/pull/22682

Try with serialize-messages=off

/Patrik
lör 15 apr. 2017 kl. 19:16 skrev Ashish Soni :

> Hi All ,
>
> Below is my Akk Configuration and i do not have java serialization by
> default but i still see the warning message , Can some one please look and
> let me know what i am missing
>
> akka {
>   loglevel = WARNING
>   extensions = 
> ["com.romix.akka.serialization.kryo.KryoSerializationExtension$"]
>
>
>   actor {
> provider = "akka.cluster.ClusterActorRefProvider"
> kryo {
>   type = "graph"
>   idstrategy = "incremental"
>   buffer-size = 4096
>   max-buffer-size = -1
>   use-manifest = false
>   implicit-registration-logging = true
>   kryo-trace = true
>
>   mappings {
> "com.justbuy.common.model.Post" = 32
>   }
> }
>
> serialize-messages = on
> serializers {
>   kryo = "com.romix.akka.serialization.kryo.KryoSerializer"
> }
>   }
>   remote {
> log-remote-lifecycle-events = off
> netty.tcp {
>   hostname = "127.0.0.1"
>   port = 0
> }
>   }
>
>   cluster {
> seed-nodes = [
>   "akka.tcp://ClusterSystem@127.0.0.1:2551",
>   "akka.tcp://ClusterSystem@127.0.0.1:2552"]
>
> auto-down-unreachable-after = 10s
>   }
> }
>
> akka.cluster.min-nr-of-members = 3
>
>
> akka.cluster.role {
>   frontend.min-nr-of-members = 1
>   backend.min-nr-of-members = 2
> }
>
> akka.actor.deployment {
>   /frontend/backendRouter {
> # Router type provided by metrics extension.
> router = adaptive-group
> # Router parameter specific for metrics extension.
> # metrics-selector = heap
> # metrics-selector = load
> # metrics-selector = cpu
> metrics-selector = mix
> #
> nr-of-instances = 100
> routees.paths = ["/user/backend"]
> cluster {
>   enabled = on
>   use-role = backend
>   allow-local-routees = off
> }
>   }
> }
>
> --
> >> Read the docs: http://akka.io/docs/
> >> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] akka.actor.warn-about-java-serializer-usage Warning keep coming even when Default Java Serialization is not used

2017-04-15 Thread Ashish Soni
Hi All , 

Below is my Akk Configuration and i do not have java serialization by 
default but i still see the warning message , Can some one please look and 
let me know what i am missing

akka {
  loglevel = WARNING
  extensions = ["com.romix.akka.serialization.kryo.KryoSerializationExtension$"]


  actor {
provider = "akka.cluster.ClusterActorRefProvider"
kryo {
  type = "graph"
  idstrategy = "incremental"
  buffer-size = 4096
  max-buffer-size = -1
  use-manifest = false
  implicit-registration-logging = true
  kryo-trace = true

  mappings {
"com.justbuy.common.model.Post" = 32
  }
}

serialize-messages = on
serializers {
  kryo = "com.romix.akka.serialization.kryo.KryoSerializer"
}
  }
  remote {
log-remote-lifecycle-events = off
netty.tcp {
  hostname = "127.0.0.1"
  port = 0
}
  }

  cluster {
seed-nodes = [
  "akka.tcp://ClusterSystem@127.0.0.1:2551",
  "akka.tcp://ClusterSystem@127.0.0.1:2552"]

auto-down-unreachable-after = 10s
  }
}

akka.cluster.min-nr-of-members = 3


akka.cluster.role {
  frontend.min-nr-of-members = 1
  backend.min-nr-of-members = 2
}

akka.actor.deployment {
  /frontend/backendRouter {
# Router type provided by metrics extension.
router = adaptive-group
# Router parameter specific for metrics extension.
# metrics-selector = heap
# metrics-selector = load
# metrics-selector = cpu
metrics-selector = mix
#
nr-of-instances = 100
routees.paths = ["/user/backend"]
cluster {
  enabled = on
  use-role = backend
  allow-local-routees = off
}
  }
}

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.