skip to Main Content

Configuration Redis Sentinel in Micronaut

I currently have a running application with Redis and I would like to add Redis Sentinel configuration to ensure high availability for my database. Could someone help me with configuring Redis Sentinel in Micronaut? Application.yml file: redis: uri: redis-sentinel://localhost:26379,localhost:26380,localhost:26381/0#redismaster My…

VIEW QUESTION

Error message from worker: redis.clients.jedis.exceptions.JedisConnectionException: Unknown reply:

While connecting to memorystore through dataflow getting the below exception in the dataflow worker logs. '''Error message from worker: redis.clients.jedis.exceptions.JedisConnectionException: Unknown reply: redis.clients.jedis.Protocol.process(Protocol.java:140) redis.clients.jedis.Protocol.read(Protocol.java:192) redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:316) redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:243) redis.clients.jedis.Jedis.ping(Jedis.java:356) org.redis.memorystore.redisconn1.processElement(memorystore.java:39)''' Please find the code which I am using. class redisconn1 extends DoFn<String,String>…

VIEW QUESTION

Redis – Cloudformation stack failure due to – Service: AmazonElastiCache; Status Code: 400; Error Code: InvalidParameterCombination

I have following template file. cfn-params: default: resourceName: 'hlp-MySrvc-redis' application: 'MySrvc' navService: 'MySrvc' service: 'MySrvc' pci: 'cat3' team: 'MySrvc' teamContact: '' elastiCacheSubnetGroup: 'nonprod' elastiCacheVpcSecurityGroupIds: 'sg-1234' elastiCacheEngineVersion: '5.0.0' elastiCacheParameterGroupName: 'default.redis5.0' elastiCacheReplicationGroupIdPrefix: 'MySrvc' elastiCacheReplicationGroupDescription: 'Redis for MySrvc' elastiCacheTransitEncryptionEnabled: 'false' elastiCacheAtRestEncryptionEnabled: 'false' elastiCacheUpdateReplacePolicy:…

VIEW QUESTION

Use @redis/json node library to store json objects

I tried to use the "@redis/json" library to set json object in Redis. const redisClient = await createClient({ url: `redis://${redis.host}:${redis.port}`, }); await redisClient.connect(); redisClient.json.set() //getting json undefined error But redisClient doesn't recognize the json object. The docs are not clear

VIEW QUESTION
Back To Top
Search