maksaska commented on code in PR #285:
URL: https://github.com/apache/ignite-extensions/pull/285#discussion_r1945237850


##########
modules/cdc-ext/examples/cdc-start-up/cdc-start-up.sh:
##########
@@ -0,0 +1,486 @@
+#!/usr/bin/env bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+# All-in-one CDC start-up manager. Use this script to run examples for CDC 
with Apache Ignite.
+#
+
+set -Eeuo pipefail
+trap 'cleanup $LINENO' SIGINT SIGTERM ERR EXIT
+
+SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
+
+IGNITE_BIN_DIR="${SCRIPT_DIR}/../../bin"
+IGNITE_HOME="${SCRIPT_DIR}/../../"
+IGNITE_LIBS="${SCRIPT_DIR}/../../libs"
+IGNITE_CDC_EXAMPLES_DIR="${SCRIPT_DIR}/../config/cdc-start-up"
+
+CURRENT_PID=$$
+
+#
+# Help message
+#
+usage() {
+       cat <<EOF
+This is a simple start-up script designed to ease the user experience with 
starting CDC for ignite clusters.
+
+Available options:
+
+-h, --help                                     Prints help summary
+-i, --ignite igniteProperties                  Starts a single node with 
provided properties. `
+                                      `An ignite instance will be started with 
basic CDC configuration `
+                                      
`\$IGNITE_HOME/examples/config/cdc-start-up/cdc-base-configuration.xml
+
+       Available options for igniteProperties include:
+               * cluster-1
+               * cluster-2
+
+  Properties files are preconfigured for data replication between cluster-1 
and cluster-2.
+
+-c, --cdc-consumer consumerMode ignitePropertiesPath `
+                                      `Starts CDC consumer with specified 
transfer mode to parse WAL archives `
+                                      `from source cluster.
+
+       Available options for --cdc-consumer include:
+               * --ignite-to-ignite            Creates a single thick client, `
+                                         `used to transfer data from 
source-cluster to destination-cluster.
+               * --ignite-to-ignite-thin       Creates a single thin client, `
+                                           `used to transfer data from 
source-cluster to destination-cluster.
+               * --ignite-to-kafka             Creates a cdc consumer, used to 
transfer data from source-cluster to specified Kafka topic.

Review Comment:
   fixed



##########
modules/cdc-ext/README.txt:
##########
@@ -0,0 +1,31 @@
+Apache Ignite Change Data Capture Module
+------------------------
+
+Apache Ignite CDC is a data processing pattern used to asynchronously receive 
entries that have been changed on the local node so that action can be taken 
using the changed entry.
+
+This module provides the clients with a simple CDC implementations strategies 
for inter-cluster communication. Active-Passive and Active-Active replication 
regimes can be established with different CDC clients. Each such client should 
be started up for each node participating in CDC.
+
+==== Installation

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to