redisson: Can't construct a java object for org.redisson.codec.JsonJacksonCodec

Expected behavior

Actual behavior

Steps to reproduce or test case

Redis version 3.10.5 Redisson version 3.10.5 Redisson configuration singleServerConfig: idleConnectionTimeout: 10000 pingTimeout: 1000 connectTimeout: 10000 timeout: 3000 retryAttempts: 3 retryInterval: 1500 reconnectionTimeout: 3000 failedAttempts: 3 password: null subscriptionsPerConnection: 5 clientName: battle address: "redis://localhost:6379" subscriptionConnectionMinimumIdleSize: 1 subscriptionConnectionPoolSize: 50 connectionMinimumIdleSize: 32 connectionPoolSize: 64 database: 0 threads: 0 nettyThreads: 0 codec: !<org.redisson.codec.JsonJacksonCodec> {} image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

Also try to define it like this

codec: !!org.redisson.codec.JsonJacksonCodec {}

Can you explain this notation?