https://github.com/nucypher/kafka-as-module-oss
NuCypher for Kafka. Start building from this module (it fetches the appropriate branch from Kafka repository)
https://github.com/nucypher/kafka-as-module-oss
Last synced: about 1 year ago
JSON representation
NuCypher for Kafka. Start building from this module (it fetches the appropriate branch from Kafka repository)
- Host: GitHub
- URL: https://github.com/nucypher/kafka-as-module-oss
- Owner: nucypher
- Created: 2017-05-15T13:11:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T14:52:01.000Z (over 8 years ago)
- Last Synced: 2025-04-02T22:33:17.034Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 5.12 MB
- Stars: 18
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run initialize_project.sh
After git clone run: initialize_project.sh
# Project structure
## External submodules
### nucypher-crypto-oss
### kafka-oss (0.10.1-encrypted branch)
## Java features for AES 256 bit
http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#importlimits
If stronger algorithms are needed (for example, AES with 256-bit keys), the JCE Unlimited Strength Jurisdiction Policy Files must be obtained and installed in the JDK/JRE.
Need to download:
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK/JRE
and install (overwrite) files in
$JAVA_HOME/jre/lib/security
## Create patch for Kafka
1. Run
```bash
tools/create.patch/create_patch.sh
```
directory *patch* will be created with the following structure:
```bash
bin/
libs/
bin/kafka-run-class.sh - added NuCypher jar's to Kafka class path
libs/kafka_2.10-1.0-SNAPSHOT.jar - patched core Kafka jar
libs/nucypher/ - core NuCypher jar's
nucypher-kafka-admin-1.0-SNAPSHOT.jar
nucypher-kafka-clients-1.0-SNAPSHOT.jar
nucypher-kafka-commons-1.0-SNAPSHOT.jar
libs/nucypher/lib - 3rd party jar's for NuCypher core jar's
```
and a tar.gz archive nucypher-patch-kafka_2.10-1.0-SNAPSHOT.tar.gz
it will contains also a script to patch Kafka
tools/create.patch/apply_patch.sh
2. Run
```bash
tools/create.patch/apply_patch.sh /opt/kafka
```
Need to specify a path to Kafka directory, for instance: Kafka is located in /opt/kafka so
```bash
tools/create.patch/apply_patch.sh /opt/kafka
```