java.lang.ClassCastException

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.

  • Kafka Streams with JSON
    via by vivek sharma,
    • java.lang.ClassCastException: KafkaStreamsSpike$BusinessProcess cannot be cast to [B at org.apache.kafka.common.serialization.ByteArraySerializer.serialize(ByteArraySerializer.java:18) at org.apache.kafka.streams.processor.internals.RecordCollector.send(RecordCollector.java:77) at org.apache.kafka.streams.processor.internals.SinkNode.process(SinkNode.java:72) at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:338) at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:187) at org.apache.kafka.streams.kstream.internals.KStreamMap$KStreamMapProcessor.process(KStreamMap.java:43) at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:68) at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:338) at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:187) at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:64) at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:174) at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:320) at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:218)

    Users with the same issue

    stigkj
    2 times, last one,