Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4809

Add task id and partition to the logging context for multi-partition connectors


    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.9.0.CR1
    • 1.9.0.Beta1
    • sqlserver-connector
    • None
    • False
    • False

      Currently, the logging context doesn't contain the information of the task id and the database name. It may make it challenging to troubleshoot the connector behavior in the following situations:

      1. A given worker node runs multiple tasks of a given connector. If a task-level issue happens (e.g. an out-of-memory error), the engineer operating the connector may need to know which of the multiple tasks failed.
      2. A given task processes multiple databases in a multi-tenant environment where each database has more or less the same set of tables. If there is database-level issue (e.g. a given schema change cannot be processed), the engineer operating the connector may need to know not only the table name that the error is related to but also the database name.

            Unassigned Unassigned
            sergeimorozov Sergei Morozov
            0 Vote for this issue
            4 Start watching this issue