Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vdesabou committed Jul 15, 2023
1 parent 989b2f8 commit 44bb949
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions connect/connect-jdbc-aws-redshift-sink/redshift-jdbc-sink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 44bb949

Please sign in to comment.