diff options
Diffstat (limited to 'resources/experiments')
| -rw-r--r-- | resources/experiments/config.json | 13 | ||||
| -rw-r--r-- | resources/experiments/config.toml | 11 | ||||
| -rw-r--r-- | resources/experiments/sink-jdbc.properties | 47 |
3 files changed, 0 insertions, 71 deletions
diff --git a/resources/experiments/config.json b/resources/experiments/config.json deleted file mode 100644 index ae383f45..00000000 --- a/resources/experiments/config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "configuration file", - "port": "8080", - "backlog": 20, - "address": "127.0.0.1", - "postgresql" : "5432", - "username" : "matt", - "password" : "admin", - "database" : "opendc", - "topic" : "postgres_topic", - "kafka" : "9092" -} - diff --git a/resources/experiments/config.toml b/resources/experiments/config.toml deleted file mode 100644 index b9ff2b38..00000000 --- a/resources/experiments/config.toml +++ /dev/null @@ -1,11 +0,0 @@ -// use a log4j to log your results in a form of a log - - -// Use check instead of require -// use type-aliases -// use higher-order -// annotation classes -// operator objects - Factory Design Pattern -// if it can be modeled as an instance then you do not need functions -// make your kotlin program write to standalone -// latex files that create figures themselves instead of using python diff --git a/resources/experiments/sink-jdbc.properties b/resources/experiments/sink-jdbc.properties deleted file mode 100644 index a36dad31..00000000 --- a/resources/experiments/sink-jdbc.properties +++ /dev/null @@ -1,47 +0,0 @@ -# -# Copyright 2018 Confluent Inc. -# -# Licensed under the Confluent Community License (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.confluent.io/confluent-community-license -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OF ANY KIND, either express or implied. See the License for the -# specific language governing permissions and limitations under the License. -# - -# A simple example that copies from a topic to a Postgres database. -# The first few settings are required for all connectors: -# a name, the connector class to run, and the maximum number of tasks to create: -name=postgresql-sink -connector.class=io.confluent.connect.jdbc.JdbcSinkConnector -tasks.max=1 - -key.converter=org.apache.kafka.connect.storage.StringConverter -value.converter=io.confluent.connect.protobuf.ProtobufConverter -value.converter.schema.registry.url=http://localhost:8081 - -# The topics to consume from - required for sink connectors like this one -topics=postgres_topic - -# Configuration specific to the JDBC sink connector. -# We want to connect to a Postgres database stored in the file test.db and auto-create tables. -connection.url=jdbc:postgresql://127.0.0.1:5432/opendc - -connection.user=matt -connection.password=admin -auto.create=true -auto.evolve=true - -# Define when identifiers should be quoted in DDL and DML statements. -# The default is 'always' to maintain backward compatibility with prior versions. -# Set this to 'never' to avoid quoting fully-qualified or simple table and column names. -#quote.sql.identifiers=always - -# Here are some values that enable JSON formatted files to be ingested by Postgresql - -insert.mode=insert -table.name.format=postgres_topic
\ No newline at end of file |
