Jackfruit is a Java application that listens to Kafka messages for error IDs. Upon receiving an error ID, it generates a credential request using an API, retrieves salt from the database, and then processes the credential request through another API.
git clone https://github.com/abdulbathish/jackfruit.git
cd jackfruit
mvn clean install
All the configuration regarding Kafka, API endpoints, database details, and secrets are stored in jackfruit/src/main/resources/ondemand-default.properties
.
Make sure to configure this file according to your environment.
The secrets are provided as environment variables. Ensure that you set up the required environment variables before running the application.
To run the application, execute the following command:
java -jar target/jackfruit.jar
The application will start listening to Kafka messages and process them accordingly.