Scenario: I have few apps running in PCF
and one of them is a SpringBoot
listener app.
Problem: I need to scale up or down the instances of listener app which is listening to some External MQ
queue based on the queue depth or number of messages.
This is really easy if I use PCF RabbitMQ
, I can have Autoscaler rule setup for RabbitMQ queue and this will work fine. Which I am already doing for other apps.
But I need to use some other External MQ (not RabbitMQ) where external systems are publishing message. So I am curious if PCF platform exposes some kind of endpoints for each app ruining in PCF
that can be used to scale up/down individual apps.