MOD_CONTINUE_GLOBAL Record Recovery Mode
MOD_CONTINUE_GLOBAL mode accepts input of a global start time stamp. After the configuration is applied, production pods are reset to the offset or time stamp and files are generated as normal.
MOD_CONTINUE_GLOBAL Configuration Properties describes the configuration property used to specify a range of metadata files by filename.
Property | Description |
---|---|
sftp.internal.recovery.modContinueGlobal.timestamp | Global start timestamp. |
This mode runs as configured in the Helm values file of an otherwise typical ASN.1 sFTP Sink configuration. The following sba-5gc-events.yaml example is configured for MOD_CONTINUE_GLOBAL mode:
# Configuration for the ASN.1 sFTP Sink
asn1-sftp-sink:
# Enabled
enabled: true
# The logging level that the ASN.1 sFTP Sink should use (debug, error, warn, info, off)
logging:
level: debug
recovery:
enabled: true
configuration:
configmap:
asn1-sftp-sink.yaml: |-
sftp:
internal:
recovery:
modContinueGlobal:
timestamp: 1658839435466
MOD_CONTINUE_GLOBAL mode does the following:
- Collects start offsets for each specified topic and partition using the
offsetsForTimes
function. This is ignored if the offset is missing. - Resets offsets on Kafka using the specified
recoveryGroupID
. - Records are reprocessed from collected partitions, between offsets, using the
subscribe
function. The records are generated using configured file closure conditions. For more information, see the discussion about file closure control properties and conditions. - Record recovery continues to run until the configuration is changed and re-applied using helm upgrade or similar.