Table of Contents

Search

  1. Preface
  2. PowerExchange CDC Publisher Overview
  3. Installing and Upgrading PowerExchange CDC Publisher
  4. PowerExchange CDC Publisher Key Concepts
  5. PowerExchange Change Capture Environment
  6. Target Messaging Systems
  7. Configuring PowerExchange CDC Publisher
  8. Streaming Change Data
  9. Monitoring PowerExchange CDC Publisher
  10. Administering PowerExchange CDC Publisher
  11. Command Reference for the Command-Line Utilities
  12. Avro Schema Formats
  13. Message Reference

User Guide

User Guide

Restart and Recovery

Restart and Recovery

You might need to restart a PowerExchange CDC Publisher process under normal conditions or after a CDC Publisher process, PowerExchange component, or the target messaging system terminates unexpectedly.
The following list describes the default restart behavior under these circumstances:
  • If you restart the CDC Publisher process under normal conditions or after a PowerExchange Logger or Listener failure, the CDC Publisher process restarts from the last change operation sent, as recorded in the checkpoint file, by default.
  • If you restart the CDC Publisher process after it ends abnormally, it restarts from the last change operation sent, as recorded in the checkpoint file, by default. If a change operation was sent but has not been acknowledged as received by the target messaging system, the change record is resent.
  • If you restart the CDC Publisher process after the target messaging system ends abnormally, CDC Publisher apply processing restarts based on the last change operation recorded in the checkpoint file by default. If you disabled guaranteed delivery by specifying Connector.kafkaProducerGuaranteeDelivery=false in the cdcPublisherKafka.cfg configuration file, some changes might be re-sent to the target. If guaranteed delivery is enabled, no changes are duplicated or missed.
You can override the default CDC Publisher restart behavior by entering the PwxCDCPublisher command with the RESTART parameter at the command line. You can configure the RESTART parameter to restart the CDC Publisher process from the earliest available change record in the PowerExchange Logger log files (FROM_BEGINNING) or from a specific position in the change stream (FROM_CONFIG), which you specify in the Extract.restart1 and Extract.restart2 properties in the cdcPublisherPowerExchange.cfg file. For more information, see Restarting a PowerExchange CDC Publisher Change Data Stream.
To cold start the CDC Publisher process FROM_BEGINNING, you must delete the checkpoint file. Otherwise, all change operations prior to or equivalent to the checkpointed change operation are
not
extracted and sent to the target.

0 COMMENTS

We’d like to hear from you!