Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Apr 16, 2024
1 parent 1d4ab91 commit 6f5b436
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_mysql_sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ If `attr_persistence=colum` then `NGSIMySQLSink` will persist the data within th
| mysql\_username | no | root | `root` is the default username that is created automatically |
| mysql\_password | no | N/A | Empty value as default (no password is created automatically) |
| mysql\_maxPoolSize | no | 3 | Max number of connections per database pool |
| mysql\_maxPoolIdle | no | 2 | Max number of connections idle per database pool |
| mysql\_minPoolIdle | no | 0 | Min number of connections idle per database pool |
| mysql\_minPoolIdleTimeMillis | no | 10000 | minimum amount of time an idle connection before is eligible for eviction |
| mysql\_options | no | N/A | optional connection parameter(s) concatinated to jdbc url if necessary<br/>When `useSSL=true&requireSSL=false` is set to `mysql_options`, jdbc url will become like <b>jdbc:mysql://mysql.example.com:3306/fiwareservice?useSSL=true&requireSSL=false</b>|
| attr\_persistence | no | row | <i>row</i> or <i>column</i>
| attr\_metadata\_store | no | false | <i>true</i> or <i>false</i>. |
Expand Down Expand Up @@ -264,6 +267,9 @@ A configuration example could be:
cygnus-ngsi.sinks.mysql-sink.mysql_username = myuser
cygnus-ngsi.sinks.mysql-sink.mysql_password = mypassword
cygnus-ngsi.sinks.mysql-sink.mysql_maxPoolSize = 3
cygnus-ngsi.sinks.mysql-sink.mysql_maxPoolIdle = 2
cygnus-ngsi.sinks.mysql-sink.mysql_minPoolIdle = 0
cygnus-ngsi.sinks.mysql-sink.mysql_minPoolIdleTimeMillis = 10000
cygnus-ngsi.sinks.mysql-sink.mysql_options = useSSL=true&requireSSL=false
cygnus-ngsi.sinks.mysql-sink.attr_persistence = row
cygnus-ngsi.sinks.mysql-sink.attr_native_types = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ If `attr_persistence=colum` then `NGSIOracleSQLSink` will persist the data withi
| oracle\_password | no | oracle | `oracle` is the default for default username |
| oracle\_database | no | xe | `xe` is the default database avaiable in oracle 11g XE (express edition) |
| oracle\_maxPoolSize | no | 3 | Max number of connections per database pool |
| oracle\_maxPoolIdle | no | 2 | Max number of connections idle per database pool |
| oracle\_minPoolIdle | no | 0 | Min number of connections idle per database pool |
| oracle\_minPoolIdleTimeMillis | no | 10000 | minimum amount of time an idle connection before is eligible for eviction |
| oracle\_options | no | N/A | optional connection parameter(s) concatinated to jdbc url if necessary<br/>When `useSSL=true&requireSSL=false` is set to `oracle_options`, jdbc url will become like <b>jdbc:oracle://oracle.example.com:3306/fiwareservice?useSSL=true&requireSSL=false</b>|
| attr\_persistence | no | row | <i>row</i> or <i>column</i>
| attr\_metadata\_store | no | false | <i>true</i> or <i>false</i>. |
Expand Down Expand Up @@ -273,6 +276,9 @@ A configuration example could be:
cygnus-ngsi.sinks.oracle-sink.nl_timestamp_format = YYYY-MM-DD HH24:MI:SS.FF6
cygnus-ngsi.sinks.oracle-sink.nl_timestamp_tz_format = YYYY-MM-DD\"T\"HH24:MI:SS.FF6 TZR
cygnus-ngsi.sinks.oracle-sink.oracle_maxPoolSize = 3
cygnus-ngsi.sinks.oracle-sink.oracle_maxPoolIdle = 2
cygnus-ngsi.sinks.oracle-sink.oracle_minPoolIdle = 0
cygnus-ngsi.sinks.oracle-sink.oracle_minPoolIdleTimeMillis = 10000
cygnus-ngsi.sinks.oracle-sink.attr_persistence = column
cygnus-ngsi.sinks.oracle-sink.attr_native_types = false
cygnus-ngsi.sinks.oracle-sink.batch_size = 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ Coming soon.
| postgresql\_database | no | postgres | `postgres` is the default database that is created automatically when install. Note also than with datamodels <i>dm-by-entity-database</i>, <i>dm-by-entity-database-schema</i>, <i>dm-by-entity-type-database</i> and <i>dm-by-entity-type-database-schema</i> this setting is ignored (as the database is part of the mapping done by the datamodel) | |
| postgresql\_username | no | postgres | `postgres` is the default username that is created automatically when install |
| postgresql\_password | no | N/A | Empty value by default (No password is created when install) |
| postgresql\_maxPoolSize | no | 3 | Max number of connections per database pool |
| postgresql\_maxPoolIdle | no | 2 | Max number of connections idle per database pool |
| postgresql\_minPoolIdle | no | 0 | Min number of connections idle per database pool |
| postgresql\_minPoolIdleTimeMillis | no | 10000 | minimum amount of time an idle connection before is eligible for eviction |
| postgresql\_options | no | N/A | optional connection parameter(s) concatinated to jdbc url if necessary<br/>When `sslmode=require` is set to `postgresql_options`, jdbc url will become like <b>jdbc:postgresql://postgresql.example.com:5432/postgres?sslmode=require</b>|
| attr\_persistence | no | row | <i>row</i> or <i>column</i>. |
| attr\_metadata\_store | no | false | <i>true</i> or <i>false</i>. |
Expand Down Expand Up @@ -295,6 +299,10 @@ A configuration example could be:
cygnus-ngsi.sinks.postgresql-sink.postgresql_database = mydatabase
cygnus-ngsi.sinks.postgresql-sink.postgresql_username = myuser
cygnus-ngsi.sinks.postgresql-sink.postgresql_password = mypassword
cygnus-ngsi.sinks.postgresql-sink.postgresql_maxPoolSize = 3
cygnus-ngsi.sinks.postgresql-sink.postgresql_maxPoolIdle = 2
cygnus-ngsi.sinks.postgresql-sink.postgresql_minPoolIdle = 0
cygnus-ngsi.sinks.postgresql-sink.postgresql_minPoolIdleTimeMillis = 10000
cygnus-ngsi.sinks.postgresql-sink.postgresql_options = sslmode=require
cygnus-ngsi.sinks.postgresql-sink.attr_persistence = row
cygnus-ngsi.sinks.postgresql-sink.attr_native_types = false
Expand Down

0 comments on commit 6f5b436

Please sign in to comment.