草庐IT

rediscala

全部标签

scala - 使用 rediscala 批量插入

我正在尝试使用https://github.com/etaty/rediscala准备大量插入1.2版没有任何成功。我认为最好的方法是制作这样的东西:implicitvalakkaSystem=akka.actor.ActorSystem()valredis=RedisClient()RedisProtocolRequest.multiBulk("SET",Seq(ByteString("mykey"),ByteString("myvalue")))++RedisProtocolRequest.multiBulk("SET",Seq(ByteString("yourkey"),Byte