RedisGears JVM plugin
The RedisGears JVM plugin allows you to run RedisGears functions in the Java virtual machine.
With the RedisGears JVM plugin, you can write RedisGears functions in Java and run them on a Redis Enterprise cluster. It currently supports JVM version 11.
Similar to the Python plugin, the JVM plugin allows both batch processing and event-driven processing.
Before you can run RedisGears with Java, you will need to install the RedisGears module and the JVM plugin on your Redis Enterprise cluster and enable them for your database.
Once you have written your code, compile and package it into a JAR file and upload it to a node on your Redis Enterprise cluster. Use the RG.JEXECUTE
command with the redis-cli
command-line tool to run your code.