Skip to content

Commit

Permalink
chore: add geolocation ksql
Browse files Browse the repository at this point in the history
  • Loading branch information
emalfroy committed Sep 27, 2023
1 parent b6f99c1 commit de9b8ed
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .ksql/CONNECTORS/GEOLOCATION_01_STREETNAME_OSLO_CONNECTOR.ksql
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
CREATE SINK CONNECTOR `StreetNameOsloGeolocationConnector` with (
"topics"= 'streetname.snapshot.oslo.flatten.geolocation',
"input.data.format"= 'JSON_SR',
"input.key.format"= 'JSON_SR',
"delete.enabled"= false,
"connector.class"= 'MicrosoftSqlServerSink',
"name"= 'StreetNameOsloGeolocationConnector',
"kafka.auth.mode"= 'KAFKA_API_KEY',
"kafka.api.key"= '***',
"kafka.api.secret"= '***',
"connection.host"= '***',
"connection.port"= '1433',
"connection.user"= 'geolocation',
"connection.password"= '***',
"db.name"= 'vbr-wms',
"ssl.mode"= 'require',
"insert.mode"= 'UPSERT',
"table.name.format"= 'vbr-wms.geolocation.StreetNameOsloGeolocation',
"table.types"= 'TABLE',
"db.timezone"= 'UTC',
"pk.mode"= 'record_key',
"pk.fields"= 'msgkey',
"auto.create"= true,
"auto.evolve"= true,
"quote.sql.identifiers"= 'ALWAYS',
"batch.sizes"= 3000,
"tasks.max"= 1
);
4 changes: 2 additions & 2 deletions .ksql/CONNECTORS/GRB_01_STREETNAME_OSLO_CONNECTOR.ksql
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ CREATE SINK CONNECTOR `StreetNameOsloGrbConnector` with (
"connector.class"= 'MicrosoftSqlServerSink',
"name"= 'StreetNameOsloGrbConnector',
"kafka.auth.mode"= 'KAFKA_API_KEY',
"kafka.api.key"= 'DZKR6A5UYAZDBARE',
"kafka.api.key"= '***',
"kafka.api.secret"= '***',
"connection.host"= 'aiv-beta-grb-basisregisters-db.database.windows.net',
"connection.host"= '***',
"connection.port"= '1433',
"connection.user"= 'GR',
"connection.password"= '***',
Expand Down

0 comments on commit de9b8ed

Please sign in to comment.