java.lang.IllegalStateException: Memory records is not writable

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 163#229307620
    via GitHub by bfil
    ,
  • No title
    via by Guozhang Wang,
    • java.lang.IllegalStateException: Memory records is not writable at org.apache.kafka.common.record.MemoryRecords.append(MemoryRecords.java:93) at org.apache.kafka.clients.producer.internals.RecordBatch.tryAppend(RecordBatch.java:69) at org.apache.kafka.clients.producer.internals.RecordAccumulator.append(RecordAccumulator.java:168) at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:435) at akka.kafka.internal.ProducerStage$$anon$1$$anon$3.onPush(ProducerStage.scala:66) at akka.stream.impl.fusing.GraphInterpreter.processElement$1(GraphInterpreter.scala:587) at akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:598) at akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:539) at akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:472) at akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:424) at akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:604) at akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:619) at akka.actor.Actor$class.aroundReceive(Actor.scala:482) at akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:530) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.ActorCell.invoke(ActorCell.scala:495) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    Users with the same issue

    iferca
    iferca14 times, last one,