Pravega is an open source distributed storage service implementing Streams. It offers Stream as the main primitive for the foundation of reliable storage systems: a high-performance, durable, elastic, and unlimited append-only byte stream with strict ordering and consistency.
To learn more about Pravega, visit https://pravega.io
- Java 11+
In spite of the requirements of using JDK 11+ to build this project,
client artifacts (and its dependencies) must be compatible with a Java 8 runtime. All other components are built and ran using JDK11+.
clientJavaVersion project property determines the version used to build the client (defaults to 8).
Checkout the source code:
git clone https://github.com/pravega/pravega.git cd pravega
Build the pravega distribution:
Install pravega jar files into the local maven repository. This is handy for running the
pravega-samples locally against a custom version of pravega.
Running unit tests:
Setting up your IDE
Pravega uses Project Lombok so you should ensure you have your IDE setup with the required plugins. Using IntelliJ is recommended.
To import the source into IntelliJ:
- Import the project directory into IntelliJ IDE. It will automatically detect the gradle project and import things correctly.
Annotation Processingby going to
Build, Execution, Deployment->
Annotation Processorsand checking 'Enable annotation processing'.
- Install the
Lombok Plugin. This can be found in
Plugins. Restart your IDE.
- Pravega should now compile properly.
For eclipse, you can generate eclipse project files by running
Note: Some unit tests will create (and delete) a significant amount of files. For improved performance on Windows machines, be sure to add the appropriate 'Microsoft Defender' exclusion.
The latest pravega releases can be found on the Github Release project page.
Pravega can be installed locally or in a distributed environment. The installation and deployment of pravega is covered in the Running Pravega guide.
Become one of the contributors! We thrive to build a welcoming and open community for anyone who wants to use the system or contribute to it. Here we describe how to contribute to Pravega! You can see the roadmap document here.
Pravega is 100% open source and community-driven. All components are available under Apache 2 License on GitHub.