Reputation: 147
We have a spring boot application deployed on Pivotal Cloud Foundry which consumes messages from IBM MQ. Is it possible to scale the application based on the Queue length of the specified queue.
Upvotes: 0
Views: 308
Reputation: 15006
PCF has an App Autoscaler built-in: see https://docs.pivotal.io/application-service/appsman-services/autoscaler/using-autoscaler.html.
It does not directly support scaling based on IBM MQ queue depth though. You would need to use a custom rule.
There is a tutorial for using custom rules to scale Spring Boot apps here.
The summary is this:
Upvotes: 0