java.lang.IllegalStateException: Memory records is not writable

GitHub | bfil | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 163#229307620

    GitHub | 8 months ago | bfil
    java.lang.IllegalStateException: Memory records is not writable

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Memory records is not writable

      at org.apache.kafka.common.record.MemoryRecords.append()
    2. Apache Kafka
      KafkaProducer.send
      1. org.apache.kafka.common.record.MemoryRecords.append(MemoryRecords.java:93)
      2. org.apache.kafka.clients.producer.internals.RecordBatch.tryAppend(RecordBatch.java:69)
      3. org.apache.kafka.clients.producer.internals.RecordAccumulator.append(RecordAccumulator.java:168)
      4. org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:435)
      4 frames
    3. akka.kafka.internal
      ProducerStage$$anon$1$$anon$3.onPush
      1. akka.kafka.internal.ProducerStage$$anon$1$$anon$3.onPush(ProducerStage.scala:66)
      1 frame
    4. akka.stream.impl
      ActorGraphInterpreter$$anonfun$receive$1.applyOrElse
      1. akka.stream.impl.fusing.GraphInterpreter.processElement$1(GraphInterpreter.scala:587)
      2. akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:598)
      3. akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:539)
      4. akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:472)
      5. akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:424)
      6. akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:604)
      7. akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:619)
      7 frames
    5. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:482)
      1 frame
    6. akka.stream.impl
      ActorGraphInterpreter.aroundReceive
      1. akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:530)
      1 frame
    7. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    8. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames