git clone https://github.com/abhirockzz/accs-spring-cloud-stream-kafka.git
cd rest-producer
mvn clean install
— The build process will createaccs-spring-cloud-stream-kafka-producer-dist.zip
in thetarget
directory
cd consumer
mvn clean install
— The build process will createaccs-spring-cloud-stream-kafka-consumer-dist.zip
in thetarget
directory
- 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
andpsm 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
andpsm accs push -n SpringCloudStreamProcessor -r java -s hourly -m manifest.json -d deployment.json -p target/accs-spring-cloud-stream-kafka-consumer-dist.zip
- check out the blog - Spring Cloud Stream and Kafka based microservices on Oracle Cloud