/module-ballerinax-redis

Primary LanguageJavaApache License 2.0Apache-2.0

Ballerina Redis Connector

Build codecov Trivy GitHub Last Commit GraalVM Check License

Redis is an open source, in-memory data structure store that you can use as a database, cache, and message broker. It supports data structures such as strings, hashes, lists, sets and sorted sets.

The Redis Ballerina connector provides operations to connect and interact with the Redis server over the network.

For more information, go to the module(s).

Building from the source

Setting up the prerequisites

  1. Download and install Java SE Development Kit (JDK) version 17. You can install either OpenJDK or Oracle JDK.

    Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

  2. Download and install Ballerina Swan Lake.

  3. Download and install docker.

Building the source

Execute the following commands to build from the source:

  • To build the package:
    bal build ./ballerina
    
  • To run the tests:
    bal test ./ballerina 
    

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, see the Contribution Guidelines.

Code of conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful links