Search code examples
spring-cloud-dataflow

Spring Cloud Data Flow Server for Kubernetes installation


The installation steps for SCDF for Kubernetes requires choosing a messaging solution apart from a datastore. Our use case for using SCDF revolves around using only Tasks which will be Spring Boot apps with Spring batch support. So is it mandatory to still install Kafka or RabitMQ or can those be avoided?


Solution

  • Congrats on the 1st StackOverflow post!

    If you're interested only in Task/Batch-only features in SCDF, you could cleanly disable the streaming and the analytics features from SCDF.

    Please have a look at the feature-toggles listed in the reference guide.

    In your case, you can disable streams and analytics through SPRING_CLOUD_DATAFLOW_FEATURES_STREAMS_ENABLED and SPRING_CLOUD_DATAFLOW_FEATURES_ANALYTICS_ENABLED properties set to false respectively.

    Specifically, you'd have to add/update these 2 key-value properties in server-deployment.yaml. Once when you do that, you can skip Message Broker and Redis from the deployment list.