Getting started with IBM MQ and KEDA
KEDA is an open-source project centred around Kubernetes-based event-driven autoscaling. It's an Apache 2.0-licensed project led by Microsoft and Red Hat which is also a listed CNCF sandbox project (https://www.cncf.io/sandbox-projects/).
If you'd like to find out more about KEDA, check out this introductory blog - https://developer.ibm.com/components/kafka/articles/introduction-to-keda/.
KEDA provides a collection of built-in scalers which allow cloud native developers to extend Kubernetes Horizontal Pod Autoscaling functionality. This includes a variety of vendor-specific metrics, without overwriting or duplication of the existing Kubernetes functionality.
IBM MQ is a recent addition to the KEDA scaler collection which supports application-layer scaling based on the queue depth metric.
Getting started with IBM MQ and KEDA:
We have created an easy guide for getting up and running with sample code and step-by-step instructions - https://github.com/ibm-messaging/mq-dev-patterns/tree/master/Go-K8s. It will help you to create an application that scales efficiently based on the queue depth in no time. The guide will help you to:
- Deploy IBM MQ locally or on the free tier of IBM Cloud
- Set up an MQ Queue Manager and Queue to which you can send messages
- Deploy KEDA in your chosen environment
- Deploy a sample consumer application linked to KEDA that will receive MQ - - Queue messages
- Deploy a producer application to send messages to your MQ Queue instance
- Monitor your application to see it scaling when the queue depth fluctuates
Build smart. Build secure. Join a global community of developers at http://ibm.biz/IBMdeveloperYT
Issue: 5317 (KJA)