DBZ-3565 Rename Oracle LogMiner history retention hours option

* Moved option to `log.mining.` namespace rather than `database.`
* Updated the documentation and field description accordingly.
This commit is contained in:
Chris Cranford 2021-05-27 16:13:25 -04:00 committed by Gunnar Morling
parent 11821b4832
commit 68c2c40097
2 changed files with 10 additions and 9 deletions

View File

@ -146,13 +146,13 @@ public class OracleConnectorConfig extends HistorizedRelationalDatabaseConnector
.withInvisibleRecommender()
.withDescription("Allows connector deployment to capture log mining results");
public static final Field LOG_MINING_HISTORY_RETENTION = Field.create("database.history.retention.hours")
public static final Field LOG_MINING_HISTORY_RETENTION = Field.create("log.mining.history.retention.hours")
.withDisplayName("Log Mining history retention")
.withType(Type.LONG)
.withWidth(Width.SHORT)
.withImportance(Importance.MEDIUM)
.withDefault(0)
.withDescription("Hours to keep Log Mining history. By default, no history is retained.");
.withDescription("When supplying a log.mining.history.recorder.class, this option specifies the number of hours the recorder should keep the history recorder. The default, 0, indicates that no history should be retained.");
public static final Field LOG_MINING_TRANSACTION_RETENTION = Field.create("log.mining.transaction.retention.hours")
.withDisplayName("Log Mining long running transaction retention")

View File

@ -1502,10 +1502,6 @@ If the captured table(s) schema changes infrequently or never, this is the ideal
|`10000`
|The number of content records that will be fetched from the log miner content view.
|[[oracle-property-log-mining-history-recorder-class]]<<oracle-property-log-mining-history-recorder-class, `+log.mining.history.recorder.class+`>>
|
|The fully qualified class name to an implementation of `HistoryReader` to be used during LogMining streaming.
|[[oracle-property-log-mining-archive-log-hours]]<<oracle-property-log-mining-archive-log-hours, `+log.mining.archive.log.hours+`>>
|`0`
|The number of hours in the past from SYSDATE to mine archive logs.
@ -1524,10 +1520,15 @@ Any transaction that exceeds this configured value will be discarded entirely an
While this option allows the behavior to be configured on a case-by-case basis,
we have plans to enhance this behavior in a future release by means of adding a scalable transaction buffer, (see {link-prefix}:{jira-url}/browse/DBZ-3123[DBZ-3123]).
|[[oracle-property-database-history-retention-hours]]<<oracle-property-database-history-retention-hours, `+database.history.retention.hours+`>>
|[[oracle-property-log-mining-history-recorder-class]]<<oracle-property-log-mining-history-recorder-class, `+log.mining.history.recorder.class+`>>
|
|The fully qualified class name to an implementation of `HistoryReader` to be used during LogMining streaming.
|[[oracle-property-log-mining-history-retention-hours]]<<oracle-property-log-mining-history-retention-hours, `+log.mining.history.retention.hours+`>>
|`0`
|The number of hours to retain entries in log mining history table.
When set to `0`, log mining history is is disabled.
|Specifies the number of hours that the log mining history recorder, should retain entries in the history table.
The default value of `0` indicates that no history is retained and is therefore disabled.
See the option, <<oracle-property-log-mining-history-recorder-class, `+log.mining.history.recorder.class+`>>, to know how to define a recorder implementation.
|[[oracle-property-rac-nodes]]<<oracle-property-rac-nodes, `+rac.nodes+`>>
|