Skip to content

Commit

Permalink
reply to pkms
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 21, 2023
1 parent 39bdc9d commit 41fd15d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow/connectors/postgres/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ func (p *PostgresCDCSource) consumeStream(
clientXLogPos = pkm.ServerWALEnd
}

if pkm.ReplyRequested {
pkmRequiresResponse = true
}
// always reply to keepalive messages
// instead of `pkm.ReplyRequested`
pkmRequiresResponse = true

case pglogrepl.XLogDataByteID:
xld, err := pglogrepl.ParseXLogData(msg.Data[1:])
Expand Down

0 comments on commit 41fd15d

Please sign in to comment.