I cannot get the demo running with wal2json as the output plugin. The message format looks completely different between wal2json and pgoutput. FWIW, I tried with both the format versions of wal2json and also tried it on different PG versions.
It panics since the pglogrepl.Message is Unknown
panic: interface conversion: interface is nil, not pglogrepl.Message
goroutine 1 [running]:
github.com/jackc/pglogrepl.Parse({0xc0000f401e, 0xa8, 0xa8})
/Users/viggy28/go/pkg/mod/github.com/jackc/pglogrepl@v0.0.0-20230318140337-5ef673a9d169/message.go:649 +0x2b9
main.main()
/Users/viggy28/Sourcecontrol/github.com/viggy28/pglogrepl/main.go:136 +0xdda
I cannot get the demo running with
wal2jsonas the output plugin. The message format looks completely different betweenwal2jsonandpgoutput. FWIW, I tried with both the format versions ofwal2jsonand also tried it on different PG versions.It panics since the pglogrepl.Message is Unknown