anchor.diff:  ...
   ----
   
  -Register the {prodname} MySQL connector to run against the deployed MySQL instance:
  -
  +. Register the {prodname} MySQL connector to run against the deployed MySQL instance:
  ++
   [source%nowrap,bash]
   ----
   oc exec -i -c kafka broker-kafka-0 -- curl -X POST \
  
positive.code: 
  toc::[]
  
  The following describes how to set up the {prodname} connectors for change data capture on Red Hat's https://www.openshift.com/[OpenShift] container platform.
  
  These instructions have been tested using the https://github.com/minishift/minishift[Minishift tool]
  -- allowing you to run a single node OpenShift instance locally on your machine.
  
  You can find a complete example of this set-up using Minishift in our https://github.com/debezium/debezium-examples/tree/master/openshift[examples repository].
  
  And if you want to get started even quicker, try out the https://learn.openshift.com/middleware/debezium-getting-started/[{prodname} online learning scenario].
  It starts an OpenShift cluster just for you, allowing you to take your first steps with {prodname} in your browser just within a few minutes.
  
  == {prodname} Deployment
  
  For setting up Kafka and Kafka Connect on OpenShift, a set of images provided by the https://strimzi.io/[Strimzi] project can be used, which offers "Kafka as a Service".
  It consists of enterprise grade configuration files and images that bring Kafka to OpenShift.
  
  First, install the operators and templates for the Kafka broker and Kafka Connect into our OpenShift project:
  
  [source,shell,subs="attributes",options="nowrap"]
  ----
  export STRIMZI_VERSION={strimzi-version}
  git clone -b $STRIMZI_VERSION https://github.com/strimzi/strimzi-kafka-operator
  cd strimzi-kafka-operator
  
  # We need to create security objects as part of installation so it is necessary to switch to admin user
  oc login -u system:admin
  oc create -f install/cluster-operator && oc create -f examples/templates/cluster-operator
  ----
  
  Next, deploy a Kafka broker cluster and a Kafka Connect cluster and then create a Kafka Connect image with the {prodname} connectors installed:
  
  [source,shell,subs="attributes",options="nowrap"]
  ----
  # Deploy an ephemeral single instance Kafka broker
  oc process strimzi-ephemeral -p CLUSTER_NAME=broker -p ZOOKEEPER_NODE_COUNT=1 -p KAFKA_NODE_COUNT=1 -p KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 -p KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR=1 | oc apply -f -
  
  # Deploy a single instance of Kafka Connect with no plug-in installed
  oc process strimzi-connect-s2i -p CLUSTER_NAME=debezium -p KAFKA_CONNECT_BOOTSTRAP_SERVERS=broker-kafka-bootstrap:9092 -p KAFKA_CONNECT_CONFIG_STORAGE_REPLICATION_FACTOR=1 -p KAFKA_CONNECT_OFFSET_STORAGE_REPLICATION_FACTOR=1 -p KAFKA_CONNECT_STATUS_STORAGE_REPLICATION_FACTOR=1 -p KAFKA_CONNECT_VALUE_CONVERTER_SCHEMAS_ENABLE=false -p KAFKA_CONNECT_KEY_CONVERTER_SCHEMAS_ENABLE=false | oc apply -f -
  
  # Build a Debezium image
  export DEBEZIUM_VERSION={debezium-version}
  mkdir -p plugins && cd plugins && \
  for PLUGIN in {mongodb,mysql,postgres}; do \
      curl http://central.maven.org/maven2/io/debezium/debezium-connector-$PLUGIN/$DEBEZIUM_VERSION/debezium-connector-$PLUGIN-$DEBEZIUM_VERSION-plugin.tar.gz | tar xz; \
  done && \
  oc start-build debezium-connect --from-dir=. --follow && \
  cd .. && rm -rf plugins
  ----
  
  After a while all parts should be up and running:
  
  [source%nowrap,bash]
  ----
  oc get pods
  
negative.code: 
  # For example, run UPDATE customers SET email="sally.thomas@example.com" WHERE ID = 1001;
  ----
  +
  You should now see additional change messages in the consumer started previousl.
  
  If you have any questions or requests related to running {prodname} on OpenShift,
  let us know via our https://groups.google.com/forum/#!forum/debezium[user group] or in the {prodname} https://gitter.im/debezium/dev[developer's chat].
  