-1

I have tried "LPUSH" command in the following code, it works but redisjson command is not working

destination d_redis {
    redis(
        host("localhost")
        port(6379)
        command("JSON.SET", "test", "${MESSAGE}")
    );
};

Can someone help to find out the reason why it is not working and how to make it as work?

Mahe Krish
  • 141
  • 1
  • 7

1 Answers1

1

JSON.SET needs 3 parameters.

JSON.SET <key> <path> <json>

https://oss.redis.com/redisjson/commands/#jsonset

MrAnno
  • 754
  • 5
  • 17