我在Akka流上使用Kakfa-client,甚至在我的实现器中定义了主管策略
materializer = ActorMaterializer(createActorMaterializerSettings(strategyDecider, inputBuffer, system))
private def createActorMaterializerSettings(strategyDecider: function.Function[Throwable, Supervision.Directive], inputBuffer: Int, system: ActorSystem) = {
ActorMaterializerSettings(system)
.withDispatcher("akka.stream-sink-dispatcher")
.withSupervisionStrategy(toScalaFunction(strategyDecider))
.withInputBuffer(initialSize = 1, maxSize = inputBuffer)
}
当我收到无法反序列化的内容
akka stream die org.apache.kafka.common.errors.SerializationException: Error deserializing key/value for partition
我的信息流不使用主管策略而死。
你知道在这里做什么吗?