From 44bb949155cd7704d17cf7de03c4474ce0b973b4 Mon Sep 17 00:00:00 2001 From: Vincent de Saboulin Date: Sat, 15 Jul 2023 16:27:39 +0200 Subject: [PATCH] fix --- .../redshift-jdbc-sink.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh b/connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh index a8f0937d8..f499e0431 100755 --- a/connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh +++ b/connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh @@ -97,16 +97,16 @@ set -e log "Creating JDBC AWS Redshift sink connector" playground connector create-or-update --connector redshift-jdbc-sink << EOF { - "connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector", - "tasks.max": "1", - "connection.url": "jdbc:postgresql://$CLUSTER:$PORT/dev?user=masteruser&password=myPassword1&ssl=false", - "topics": "orders", - "auto.create": "true" - } + "connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector", + "tasks.max": "1", + "connection.url": "jdbc:postgresql://$CLUSTER:$PORT/dev?user=masteruser&password=myPassword1&ssl=false", + "topics": "orders", + "auto.create": "true" +} EOF -log "Sending messages to topic orders" -playground topic produce -t orders --nb-messages 1 << 'EOF' +log "Sending messages to topic ORDERS" +playground topic produce -t ORDERS --nb-messages 1 << 'EOF' { "type": "record", "name": "myrecord", @@ -131,7 +131,7 @@ playground topic produce -t orders --nb-messages 1 << 'EOF' } EOF -playground topic produce -t orders --nb-messages 1 --forced-value '{"id":2,"product":"foo","quantity":2,"price":0.86583304}' << 'EOF' +playground topic produce -t ORDERS --nb-messages 1 --forced-value '{"id":2,"product":"foo","quantity":2,"price":0.86583304}' << 'EOF' { "type": "record", "name": "myrecord",