I'm trying to deploy the SCDF in Openshift using the Openshift Console. I'm following the instructions given in the following article,
here there are 5 steps in order to successfully deploy the scdf in kubernates. My questions are, do we need all those steps to be executed.
Choose a Message Broker:
When would be this service required exactly? I don't understand it's use completely here in my spring batch app.
Deploy MySQL
Deploy Prometheus and Grafana
Update
src/kubernetes/server/server-config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: scdf-server
labels:
app: scdf-server
data:
application.yaml: |-
spring:
cloud:
dataflow:
task:
platform:
kubernetes:
accounts:
default:
limits:
memory: 1024Mi
**datasource:
url: jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT}/mysql
username: root
password: ${mysql-root-password}
driverClassName: org.mariadb.jdbc.Driver
testOnBorrow: true
validationQuery: "SELECT 1"**
Please take some time to review the concepts and architecture specifics from the docs.
A message broker is only required when you're using the streaming capabilities in SCDF. Skipper is required only also for streaming use-cases, so you can ignore both.
On that topic, we have a batch-only recipe to help highlight the differences. While the recipe itself is targeted for local deployment experience, it'd be similar for K8s as far as you're setting the right feature-toggle properties in SCDF.
1) you can use any of the supported RDBMS options.
2) If you don't need it, sure.
3) It is required. An admin or someone with enough privileges can help set it up once for the given SCDF deployment, so the CRUD operations are governed within the cluster boundaries.
4) You don't need it if you're on batch-only mode.