Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from Grupo-G03-4SOAT-FIAP/feature/128/docs
Browse files Browse the repository at this point in the history
docs: melhoria nas requests de exemplo
  • Loading branch information
dannevesdantas authored May 15, 2024
2 parents c64c250 + 448ec2c commit 6cdee4e
Show file tree
Hide file tree
Showing 8 changed files with 757 additions and 502 deletions.
2 changes: 1 addition & 1 deletion api.http
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ PUT http://localhost:3002/pedido/10cc2240-cc07-4a02-bb75-e292faef49e3
Content-Type: application/json

{
"pago": true,
"statusPagamento": "pago",
"statusPedido": "em_preparacao"
}
33 changes: 33 additions & 0 deletions docs/confluent-cloud/PostgresSinkConnector_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"config": {
"topics": "categorias,produtos",
"schema.context.name": "default",
"input.data.format": "AVRO",
"input.key.format": "AVRO",
"delete.enabled": "false",
"connector.class": "PostgresSink",
"name": "PostgresSinkConnector_0",
"kafka.auth.mode": "KAFKA_API_KEY",
"kafka.api.key": "POPXZIHNC7ERAUAR",
"kafka.api.secret": "****************************************************************",
"connection.host": "****************************************************************.rds.amazonaws.com",
"connection.port": "****************************",
"connection.user": "****************************",
"connection.password": "****************************",
"db.name": "pedidos",
"ssl.mode": "prefer",
"insert.mode": "UPSERT",
"table.types": "TABLE",
"db.timezone": "UTC",
"date.timezone": "DB_TIMEZONE",
"pk.mode": "record_value",
"pk.fields": "id",
"auto.create": "false",
"auto.evolve": "false",
"quote.sql.identifiers": "ALWAYS",
"batch.sizes": "3000",
"max.poll.interval.ms": "300000",
"max.poll.records": "500",
"tasks.max": "1"
}
}
Binary file removed docs/confluent-cloud/PostgresSinkConnector_0.png
Binary file not shown.
29 changes: 29 additions & 0 deletions docs/confluent-cloud/PostgresSourceConnector_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"config": {
"connector.class": "PostgresSource",
"name": "PostgresSourceConnector_0",
"kafka.auth.mode": "KAFKA_API_KEY",
"kafka.api.key": "OP3SCR7CZG2VFDAL",
"kafka.api.secret": "****************************************************************",
"schema.context.name": "default",
"connection.host": "****************************************************************.rds.amazonaws.com",
"connection.port": "****************************",
"connection.user": "****************************",
"connection.password": "****************************",
"db.name": "catalogo",
"ssl.mode": "prefer",
"table.whitelist": "categorias, produtos",
"timestamp.column.name": "atualizado_em",
"table.types": "TABLE",
"db.timezone": "UTC",
"timestamp.granularity": "CONNECT_LOGICAL",
"numeric.mapping": "best_fit",
"quote.sql.identifiers": "ALWAYS",
"transaction.isolation.mode": "DEFAULT",
"poll.interval.ms": "5000",
"batch.max.rows": "100",
"timestamp.delay.interval.ms": "0",
"output.data.format": "AVRO",
"tasks.max": "1"
}
}
Binary file removed docs/confluent-cloud/PostgresSourceConnector_0.png
Binary file not shown.
2 changes: 0 additions & 2 deletions docs/confluent-cloud/config.txt

This file was deleted.

Loading

0 comments on commit 6cdee4e

Please sign in to comment.