-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
GCP Managed Redis doesn't support CLIENT commands which makes debezium server unusable with GCP Managed Redis when used as OffsetBackingStore or FileBackingStore.
Error when using Managed Redis
{{{"timestamp":"2022-06-17T14:03:35.367Z","sequence":126,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"io.debezium.server.ConnectorLifecycle","level":"INFO","message":"Connector completed: success = 'false', message = 'Unable to configure and start the 'io.debezium.server.redis.RedisOffsetBackingStore' offset backing store', error = '{}'","threadName":"pool-7-thread-1","threadId":19,"mdc":{},"ndc":"","hostName":"dbz-redis-6c7f77788b-tzqlk","processName":"io.debezium.server.Main","processId":1,"exception":
{"refId":1,"exceptionType":"redis.clients.jedis.exceptions.JedisDataException","message":"ERR unknown command CLIENT, with args beginning with: SETNAME, debezium:offsets, ","frames":[\{"class":"redis.clients.jedis.Protocol","method":"processError","line":96},{"class":"redis.clients.jedis.Protocol","method":"process","line":137},{"class":"redis.clients.jedis.Protocol","method":"read","line":192},{"class":"redis.clients.jedis.Connection","method":"readProtocolWithCheckingBroken","line":316},{"class":"redis.clients.jedis.Connection","method":"getStatusCodeReply","line":243},{"class":"redis.clients.jedis.Jedis","method":"clientSetname","line":8088},{"class":"io.debezium.server.redis.RedisConnection","method":"getRedisClient","line":54},{"class":"io.debezium.server.redis.RedisOffsetBackingStore","method":"connect","line":83},{"class":"io.debezium.server.redis.RedisOffsetBackingStore","method":"start","line":120},{"class":"io.debezium.embedded.EmbeddedEngine","method":"run","line":691},{"class":"io.debezium.embedded.ConvertingEngineBuilder$2","method":"run","line":192},{"class":"io.debezium.server.DebeziumServer","method":"lambda$start$1","line":150},{"class":"java.util.concurrent.ThreadPoolExecutor","method":"runWorker","line":1135},{"class":"java.util.concurrent.ThreadPoolExecutor$Worker","method":"run","line":635},{"class":"java.lang.Thread","method":"run","line":831}]}}}}
Documentation: https://cloud.google.com/memorystore/docs/redis/product-constraints#blocked_redis_commands