Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Seeing the akka.remote.OversizedPayloadException while using replicated data

$
0
0

@jacobkurien1 wrote:

Hi folks, need some help: i am using akka 2.5.23 and I am using the Replicated data. I noticed after adding arround 53-60 elements i hit the size limit and start seeing this error: akka.remote.OversizedPayloadException: Discarding oversized payload sent to Some(Actor[akka://AssetRepairOrchestrator@asset-repair-02301.node.ad2.r2:56745/system/ddataReplicator/$wi#-289779066]): max allowed size 262144 bytes. Message type [akka.cluster.ddata.Replicator$Internal$ReadResult]. after which i see the same error in gossip akka.remote.OversizedPayloadException: Discarding oversized payload sent to Some(Actor[akka://AssetRepairOrchestrator@asset-repair-02303.node.ad2.r2:56745/system/ddataReplicator#1559929375]): max allowed size 262144 bytes. Message type [akka.cluster.ddata.Replicator$Internal$Gossip]. I updated the conf file and edited the max-delta-elements to 45, but still see the issue. The full conf file looks as shown below:`akka {

loggers = [“akka.event.slf4j.Slf4jLogger”]
loglevel = “DEBUG”
logging-filter = “akka.event.slf4j.Slf4jLoggingFilter”

akka.extensions = [“akka.cluster.metrics.ClusterMetricsExtension”]

actor {
provider = “cluster”

enable-additional-serialization-bindings = on
allow-java-serialization = off

serializers {
  jackson = "com.oracle.pic.smgl.aro.messages.JacksonSerializer"
}
serialization-bindings {
  "com.oracle.pic.smgl.aro.messages.AROMessage" = jackson
}

}

cluster {
roles = [“aro-service”]
distributed-data {
max-delta-elements = 30
}
}

remote {

artery {
  enabled = on
  transport = tls-tcp
  canonical.port = ${akkaRemotePort}
  canonical.hostname = "<getHostName>"
  bind.hostname = "<getHostName>"
  bind.port = ${akkaRemotePort}

  ssl {
    ssl-engine-provider = com.oracle.pic.commons.akka.ArterySSLEngineProviderImpl
    config-ssl-engine {

      server {
       <omited>
      }

      client {
        <omited>
      }
    }
  }

}

}

discovery {
method = odo
odo {
applications = [
{
name = {odoAppName} akkaManagementPort = {akkaManagementPort}
}
]
}
}

management {
http {
port = ${akkaManagementPort}
bind-hostname = “0.0.0.0”

}

cluster.bootstrap = {
  effective-name = "my service"
}

}

}`

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles