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+.
The 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:
./gradlew 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.
./gradlew install
Running unit tests:
./gradlew test
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.
- Enable
Annotation Processing
by going toBuild, Execution, Deployment
->Compiler
>Annotation Processors
and checking 'Enable annotation processing'. - Install the
Lombok Plugin
. This can be found inPreferences
->Plugins
. Restart your IDE. - Pravega should now compile properly.
For eclipse, you can generate eclipse project files by running ./gradlew eclipse
.
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.
Read Getting Started page for more information, and also visit sample-apps repo for more applications.
Pravega can be installed locally or in a distributed environment. The installation and deployment of pravega is covered in the Running Pravega guide.
Don’t hesitate to ask! Contact the developers and community on slack (signup) if you need any help. Open an issue if you found a bug on Github Issues.
The Pravega documentation is hosted on the website: https://pravega.io/docs/latest or in the documentation directory of the source code.
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.