Debezium Server delivery guarantee

30 views
Skip to first unread message

Peter Nicholson

unread,
Jun 23, 2022, 4:16:47 AM6/23/22
to debezium
Hello,

We are considering the usage of Debezium Server with the Postgres connector and HTTP sink. What are the delivery guarantees for events being emitted by Debezium Server? We have tested the following scenario which results in Debezium not resending a failed message:
  1. Context: Debezium Server configured with Postgres connector and HTTP sink
  2. Scenario:
    1. WAL entry is made, HTTP sink returns error status
    2. WAL entry is made, HTTP sink returns OK status
  3. Result
    1. The first message is not retransmitted
Is Debezium Server's delivery guarantee at most once?

Cheers,
Peter

Chris Cranford

unread,
Jun 23, 2022, 9:38:01 AM6/23/22
to debe...@googlegroups.com, Peter Nicholson
Hi Peter -

So looking at the HTTP sink code, I personally think the scenario you raised is a bug.  It does appear that when we get any HTTP response other than OK, No-Content, or Accepted that we simply log we cannot deliver the event and move onward.  I don't think that's accurate behavior at all, so could you please raise a Jira issue on this if one does not already exist?

Thanks,
CC
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/9177f8c2-a90b-465a-b7f9-fb4832ac11e6n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages