Skip to content

Transactions info (time) in unit events ? Β #19

@cyrilchapon

Description

@cyrilchapon

Hi,

I'm implementing a CDC use-case and found your library which is pretty cool (thanks for this πŸ™‚).

Reading #17 + some Debezium posts saying they deprecated wal2json usage for pgoutput; I came to the conclusion I'd better go with the later.

I have tested both though, and one thing I liked with wal2json (v2) is the fact we have access to the commit-time of the transaction directly inside unit event (insert, update, ...)

Which is apparently not the case with pgoutput.

So my question is simple :

Is the fact a pgoutput DDL event (insert, update, delete) with PgOutPutPlugin due to

  • a lack of this piece of information directly in WAL
  • a lack while decoding the WAL in PgOutputPlugin
    ?

If the later, I'd try to PR this; but could you please give me some clues where and how to do so ?

Thanks πŸ™‚

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions