View Code? Open in Web Editor
NEW
This project forked from abhirockzz/accs-spring-cloud-stream-kafka
Spring Cloud Stream apps with Apache Kafka on Oracle Cloud
Home Page: https://medium.com/oracledevs/spring-cloud-stream-and-kafka-based-microservices-on-oracle-cloud-9889732149a
License: GNU General Public License v3.0
accs-spring-cloud-stream-kafka's Introduction
Build Producer application
git clone https://github.com/abhirockzz/accs-spring-cloud-stream-kafka.git
cd rest-producer
mvn clean install
— The build process will create accs-spring-cloud-stream-kafka-producer-dist.zip
in the target
directory
Build Consumer application
cd consumer
mvn clean install
— The build process will create accs-spring-cloud-stream-kafka-consumer-dist.zip
in the target
directory
Deploy to Oracle Application Container Cloud
- Download and setup PSM CLI on your machine (using
psm setup
) — details here
- modify the
deployment.json
to fill in the Oracle Event Hub instance name as per your environment
- deploy the producer app —
cd rest-producer
and psm accs push -n SpringCloudStreamProducer -r java -s hourly -m manifest.json -d deployment.json -p target/accs-spring-cloud-stream-kafka-producer-dist.zip
- deploy the processor app —
cd consumer
and psm accs push -n SpringCloudStreamProcessor -r java -s hourly -m manifest.json -d deployment.json -p target/accs-spring-cloud-stream-kafka-consumer-dist.zip
accs-spring-cloud-stream-kafka's People
Contributors
Watchers