The wal2json plugin allows streaming the WAL as json and thus efficient replication via tools such as kafka-connect.