'How to get/read the wal2json output on a Java application/service , basically Parsing the json output from the wal2json plugin?

wal2json is an output plugin to get the logical decoding of postgres but , wal2json plugin outputs the changes on the terminal. How do I create a Java Listener or get the output on a Java application



Solution 1:[1]

It is not done in Java, but here are two example projects to get an idea:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 check